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-exclude argument #1091

Closed
asottile opened this issue Apr 3, 2021 · 4 comments
Closed

--extend-exclude argument #1091

asottile opened this issue Apr 3, 2021 · 4 comments

Comments

@asottile
Copy link
Member

asottile commented Apr 3, 2021

In GitLab by @graingert on Apr 17, 2019, 08:26

currently it's a bit of a pain to remember to prepend '.git,pycache,docs/source/conf.py,old,build,dist' to any --exclude argument

I'd like to be able to use --extend-exclude to append new exclude values to the default

@asottile asottile added this to the 3.8.0 milestone Apr 3, 2021
@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @asottile on Apr 17, 2019, 08:51

Seems fine to me!

If you're looking for something in the interim, execution through pre-commit will only run against git-tracked files (mostly avoiding the problem)

Would you like to take the first stab at a PR for this?

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @graingert on Apr 29, 2019, 04:33

mentioned in merge request !315

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @asottile on Jul 8, 2019, 13:12

closed via merge request !315

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @asottile on Jul 8, 2019, 13:12

mentioned in commit 65262dc

@asottile asottile closed this as completed Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant