-
Notifications
You must be signed in to change notification settings - Fork 23
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
add pre-commit config file #130
Conversation
I don't think we want to blacken the test files for now, it moves the comments around too much. |
Should we also remove the separate black and isort checks from the CI, like we did over at typeshed? (python/typeshed#6376) |
combine_as_imports = true |
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.
I'm surprised that this isn't the default behavior.
We should also update the section on running tests in CONTRIBUTING, but that can be done in a separate PR. |
Everything seems to be working now so I'm merging :) Thanks @JelleZijlstra! |
Also gitignore vscode so my git status is clean.
The config file was copied from typeshed with fixes to some paths.
Refs #128