Use black instead of "flake8-black" on CI.#306
Merged
Conversation
- Use `black` for code formatting and validate using `black --check`. Code compatibility: py26-py39. - Enforce maximal line length to 120 symbols
penguinolog
commented
Jun 23, 2021
| indent_size = 4 | ||
|
|
||
| [*.rst] | ||
| max_line_length = 150 |
Contributor
Author
There was a problem hiding this comment.
common PyPI practice for ReStructured text documents
penguinolog
commented
Jun 23, 2021
| @@ -0,0 +1,16 @@ | |||
| [build-system] | |||
Contributor
Author
There was a problem hiding this comment.
Unfortunatelly without build-system will be complaints from pip
penguinolog
commented
Jun 23, 2021
| summary = Retry code until it succeeds | ||
| long_description = Tenacity is a general-purpose retrying library to simplify the task of adding retry behavior to just about anything. | ||
| author = Julien Danjou | ||
| author-email = julien@danjou.info |
Contributor
Author
There was a problem hiding this comment.
dash separated fields is deprecated
Contributor
Author
|
Python code was automatically formatted by |
jd
approved these changes
Jun 23, 2021
| # PEP 508 specifications for PEP 518. | ||
| # Banned setuptools versions have well-known issues | ||
| requires = [ | ||
| "setuptools >= 21.0.0,!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0", # PSF/ZPL |
Owner
There was a problem hiding this comment.
not a fan of this list…
obviously all version have issues or they wouldn't be new releases lol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
blackfor code formatting and validate usingblack --check. Code compatibility: py26-py39.