-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: Enhace black efficiently to skip directories listed in .gitignore #4415
Conversation
@JelleZijlstra I've added the test for this and now black is almost 2x faster when it have to ignore directories from A benchmark I've tested, with |
Should we add a changelog entry as it's a simple but significant change? |
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.
Thank you! I pushed a news entry.
Note this probably hurts perf in the normal case due to adding a bunch of new stats |
Description
fix: #4405 Enhace black efficiently to skip directories listed in .gitignore
Checklist - did you ...
CHANGES.md
if necessary?