-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
chore: Configure pre-commit for excluding files through black #7323
chore: Configure pre-commit for excluding files through black #7323
Conversation
Codecov Report
@@ Coverage Diff @@
## development #7323 +/- ##
============================================
Coverage 64.09% 64.09%
============================================
Files 259 259
Lines 13102 13102
============================================
Hits 8398 8398
Misses 4704 4704 Continue to review full report at Codecov.
|
Ideally it should read the config. Any doc mentioning this is how it should be configured? |
https://pre-commit.com/#pre-commit-configyaml---hooks |
This open-event-server/pyproject.toml Lines 1 to 24 in c4a9bb4
|
@iamareebjamal i edited my comment, please review |
Thank You |
Fixes #7097
Short description of what this resolves:
I hard-coded the files/folders that needs to be excluded in the pre-commit config file. Now, when you run
black -v .
black ignores the excluded folders/files.