-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
show how to exclude individual files in the exclude example #663
Conversation
1 similar comment
Pull Request Test Coverage Report for Build 882
💛 - Coveralls |
README.md
Outdated
| tests/data | ||
)/ | ||
# exclude a few common directories as well as foo.py | ||
# in the root of the project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this change! While you're at it, I think it would be good to have separate comments for the directories and the individual file. Each of those should say whether it applies to files/dirs anywhere or just at the top level (e.g., will this config exclude some_dir/foo.py
as well as foo.py
?).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, I think.
Thanks! |
It took me about a half hour this morning to puzzle out how to exclude individual files because I didn't realize the example regex excludes only directories. It perhaps took me longer than others since I'm not terribly comfortable with regular expressions but I think this is a common enough desire (to exclude an enumerated list of files along with whole directories) that it should be in the example. Hope you agree 😄.