Skip to content

Commit

Permalink
Make sure the requirements in setup.py are sorted
Browse files Browse the repository at this point in the history
Sort the install_requires and extras_require["test"] arguments by key.
  • Loading branch information
mcdonnnj committed Nov 13, 2020
1 parent 0f6efe0 commit a9ee3dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@ def package_vars(version_file):
package_data={"example": ["data/*.txt"]},
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
include_package_data=True,
install_requires=["docopt", "setuptools >= 24.2.0", "schema"],
install_requires=["docopt", "schema", "setuptools >= 24.2.0"],
extras_require={
"test": [
"pre-commit",
"coverage",
# coveralls 1.11.0 added a service number for calls from
# GitHub Actions. This caused a regression which resulted in a 422
# response from the coveralls API with the message:
# Unprocessable Entity for url: https://coveralls.io/api/v1/jobs
# 1.11.1 fixed this issue, but to ensure expected behavior we'll pin
# to never grab the regression version.
"coveralls != 1.11.0",
"coverage",
"pre-commit",
"pytest-cov",
"pytest",
]
Expand Down

0 comments on commit a9ee3dd

Please sign in to comment.