Skip to content

Commit

Permalink
STY/BLD: lint/check setup.py; pin black < 22.10
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarko committed Sep 13, 2023
1 parent 765d3d7 commit 18c33a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ test:
python3 -B -m pytest pyfastg/tests/ --cov-report xml --cov-report term

stylecheck:
flake8 pyfastg
black --check -l 79 pyfastg
flake8 pyfastg setup.py
black --check -l 79 pyfastg setup.py

style:
black -l 79 pyfastg
black -l 79 pyfastg setup.py
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,9 @@
classifiers=classifiers,
packages=find_packages(),
install_requires=["networkx >= 2"],
extras_require={"dev": ["pytest", "pytest-cov", "flake8", "black"]},
extras_require={
# The black < 22.10 pin is because black 22.10 stopped supporting
# python 3.6
"dev": ["pytest", "pytest-cov", "flake8", "black < 22.10"]
},
)

0 comments on commit 18c33a0

Please sign in to comment.