Some checks failed
Release / release (push) Failing after 22s
* ignore .gitignore * remove relative imports * remove tmp * rename template string * rename template string * format with black * changelog * Bump version: 0.0.0.dev1 → 0.0.0.dev2 * bump version * Bump version: 0.1.0 → 0.2.0.dev0 * Bump version: 0.2.0.dev0 → 0.2.0.dev1 --------- Co-authored-by: autobump <autobump@users.noreply.github.com>
19 lines
432 B
Python
19 lines
432 B
Python
from pathlib import Path
|
|
|
|
from .pyflybygen import pyflybygen
|
|
|
|
statements = """
|
|
from __future__ import (absolute_import,
|
|
division)
|
|
import os
|
|
import collections, itertools
|
|
from math import *
|
|
from gzip import open as gzip_open
|
|
from subprocess import check_output, Popen
|
|
"""
|
|
|
|
|
|
imports = more_itertools.flatten(
|
|
[get_imports(p.read_text()) for p in Path(".").glob("**/*.py")]
|
|
)
|
|
print("\n".join(set(imports)))
|