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

Extend API for plugins to modify exclude #691

Closed
asottile opened this issue Apr 3, 2021 · 1 comment
Closed

Extend API for plugins to modify exclude #691

asottile opened this issue Apr 3, 2021 · 1 comment

Comments

@asottile
Copy link
Member

asottile commented Apr 3, 2021

In GitLab by @Pequex on Mar 5, 2019, 10:26

As per https://gitlab.com/pycqa/flake8/issues/398#note_144810532.

I was thinking about creating a flake8-gitignore extension, which would read the Git ignored files and add them to the list in flake8's exclude. It seems there is no API to do that right now:

@Pequex it seems the only apis given to plugins for modifying existing options right now are extend_default_ignore, extend_default_select, and remove_from_default_ignore (nothing to do with exclude currently) -- that isn't to say it wouldn't be possible.

@asottile
Copy link
Member Author

going to continue this in #1105

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

No branches or pull requests

1 participant