Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for per file ignore using flake8 #19

Merged
merged 5 commits into from
Mar 3, 2021
Merged

Conversation

CaselIT
Copy link
Contributor

@CaselIT CaselIT commented Feb 23, 2021

@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
Copy link
Contributor Author

CaselIT commented Feb 23, 2021

if we keep flake8 as a required dependency, this may also be the solution for #13

@CaselIT CaselIT requested a review from zzzeek February 23, 2021 22:01
zimports.py Outdated Show resolved Hide resolved
- migrate to a package
- vendor used flake8 parts instead of usig it as library, since it's interface is not stable
- detect per file ignores
- fix license in setup.py
@CaselIT
Copy link
Contributor Author

CaselIT commented Feb 25, 2021

@zzzeek updated, take a look

zimports/ventored.py Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
LICENSE Outdated Show resolved Hide resolved
@CaselIT CaselIT merged commit 38c1683 into master Mar 3, 2021
@CaselIT CaselIT deleted the per_file_ignore branch March 3, 2021 21:23
@CaselIT
Copy link
Contributor Author

CaselIT commented Mar 3, 2021

@zzzeek can you push the new version to pypi?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants