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

Change autoformatter from pyformat to Black #1686

Closed
Zac-HD opened this issue Dec 9, 2018 · 0 comments
Closed

Change autoformatter from pyformat to Black #1686

Zac-HD opened this issue Dec 9, 2018 · 0 comments
Assignees
Labels
tests/build/CI about testing or deployment *of* Hypothesis

Comments

@Zac-HD
Copy link
Member

Zac-HD commented Dec 9, 2018

Because Black is a better autoformatter than autopep8, which pyformat uses under the hood. pyformat also handles docstring conventions and unused imports, but doesn't canonicalise them and we have linters for both.

IMO we should use the default configuration and accept 88-character lines. To minimise disruption, I would vote to format everything at once as soon as my current round of PRs is reviewed and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests/build/CI about testing or deployment *of* Hypothesis
Projects
None yet
Development

No branches or pull requests

1 participant