-
-
Notifications
You must be signed in to change notification settings - Fork 304
Use black instead of "flake8-black" on CI. #306
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
Conversation
- Use `black` for code formatting and validate using `black --check`. Code compatibility: py26-py39. - Enforce maximal line length to 120 symbols
| indent_size = 4 | ||
|
|
||
| [*.rst] | ||
| max_line_length = 150 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
common PyPI practice for ReStructured text documents
| @@ -0,0 +1,16 @@ | |||
| [build-system] | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunatelly without build-system will be complaints from pip
| 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dash separated fields is deprecated
|
Python code was automatically formatted by |
| # 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a fan of this list…
obviously all version have issues or they wouldn't be new releases lol
blackfor code formatting and validate usingblack --check. Code compatibility: py26-py39.