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

add pre-commit config file #130

Merged
merged 9 commits into from
Jan 22, 2022
Merged

add pre-commit config file #130

merged 9 commits into from
Jan 22, 2022

Conversation

JelleZijlstra
Copy link
Collaborator

@JelleZijlstra JelleZijlstra commented Jan 22, 2022

Also gitignore vscode so my git status is clean.

The config file was copied from typeshed with fixes to some paths.

Refs #128

@JelleZijlstra
Copy link
Collaborator Author

I don't think we want to blacken the test files for now, it moves the comments around too much.

@AlexWaygood
Copy link
Collaborator

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
Copy link
Collaborator

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.

@AlexWaygood
Copy link
Collaborator

We should also update the section on running tests in CONTRIBUTING, but that can be done in a separate PR.

pyi.py Outdated Show resolved Hide resolved
@AlexWaygood
Copy link
Collaborator

Everything seems to be working now so I'm merging :) Thanks @JelleZijlstra!

@AlexWaygood AlexWaygood merged commit 6474662 into master Jan 22, 2022
@AlexWaygood AlexWaygood deleted the reorg branch January 22, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants