sqlalchemyorg / zimports

Python import rewriter
MIT License
75 stars 6 forks source link

Add support for per file ignore using flake8 #19

Closed CaselIT closed 3 years ago

CaselIT commented 3 years ago

@zzzeek let me know what you think.

We could probably avoid importing flake8 by coping the code to parse the per-file-ignores, since it's a single function.

CaselIT commented 3 years ago

if we keep flake8 as a required dependency, this may also be the solution for https://github.com/sqlalchemyorg/zimports/issues/13

CaselIT commented 3 years ago

@zzzeek updated, take a look

CaselIT commented 3 years ago

@zzzeek can you push the new version to pypi?