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

Simplify black configuration to be closer to upstream defaults #568

Merged
merged 5 commits into from Dec 21, 2020
Merged

Simplify black configuration to be closer to upstream defaults #568

merged 5 commits into from Dec 21, 2020

Conversation

jdufresne
Copy link
Contributor

Avoid extra configuration by simply going with Black defaults. This
allows removing some configuration options, thus simplifying the overall
configuration.

It also makes the code style closer to community conventions. As more
projects adopt black formatting, more code will look like the black
defaults.

Further, the default 88 tends to create more readable lines, IMO. The
black rationale is located at:
https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length

@jpadilla jpadilla added this to the v2.0.0 milestone Dec 21, 2020
Avoid extra configuration by simply going with Black defaults. This
allows removing some configuration options, thus simplifying the overall
configuration.

It also makes the code style closer to community conventions. As more
projects adopt black formatting, more code will look like the black
defaults.

Further, the default 88 tends to create more readable lines, IMO. The
black rationale is located at:
https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
tests/test_api_jws.py Outdated Show resolved Hide resolved
jdufresne and others added 2 commits December 21, 2020 08:21
Co-authored-by: José Padilla <jpadilla@webapplicate.com>
tests/test_api_jws.py Outdated Show resolved Hide resolved
@jpadilla jpadilla merged commit 811ae79 into jpadilla:master Dec 21, 2020
@jdufresne jdufresne deleted the simplify-black branch December 21, 2020 16:32
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.

None yet

2 participants