-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Use an automatic code formatter and pre-commit hook? #3464
Comments
GitMate.io thinks possibly related issues are #2390 (Use automatic CHANGELOG management), #2832 (exit code 2 when using '-x' flag), #2987 (Feature request: use caplog with custom formatter), #2421 (ModuleNotFoundError when using the tests outside application code layout), and #2124 (fixture hooks use session.ihook instead of a fitting hookproxy). |
lets schedule this either right before or right after a major release i plan to test black on setuptools_scm again in future |
Agree with doing it after a minor release (I take that's what you meant right?) and to take care in using the tools (we need to see how they behave on a day to day basis). I also plan to do it in some plugins myself before committing to do the same in pytest. I wrote this mostly to start gathering opinions. |
whops, yes thats what i meant |
I'm willing to help with this if you'd like :) |
@asottile appreciated - basically i want to copy what i did for setuptools_scm/sentaku and you did for tox&others ^^ |
I think we're good to call this done 👍 |
Hi everyone,
I've been thinking about some time now to use an automatic code formatter to our codebase such as black or yapf, together with pre-commit and tox environments to check for compliance on CI.
Pros:
Cons:
Opinions?
The text was updated successfully, but these errors were encountered: