Skip to content

Conversation

@penguinolog
Copy link
Contributor

  • Use black for code formatting and validate using black --check. Code compatibility: py26-py39.
  • Enforce maximal line length to 120 symbols

- 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
Copy link
Contributor Author

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]
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@penguinolog
Copy link
Contributor Author

Python code was automatically formatted by black (no manual edit except removal of comments for pep8-black)

# 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
Copy link
Owner

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

@jd jd merged commit 4a5ac00 into jd:master Jun 23, 2021
@penguinolog penguinolog deleted the black_full_ci branch June 23, 2021 14:50
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.

2 participants