Skip to content

Commit

Permalink
general: add black
Browse files Browse the repository at this point in the history
  • Loading branch information
bodik committed Jun 9, 2023
1 parent 0fea87a commit f5e0b66
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ freeze:
lint:
python -m flake8 soft_webauthn.py tests
python -m pylint --ignore=example_server.py soft_webauthn.py tests
python -m black --check soft_webauthn.py tests

test:
python -m pytest -v
Expand All @@ -23,6 +24,9 @@ coverage:
coverage run --source soft_webauthn -m pytest tests -x -vv
coverage report --show-missing --fail-under 100

black:
python -m black soft_webauthn.py tests

wheel:
python setup.py sdist bdist_wheel
upload:
Expand Down
5 changes: 4 additions & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
astroid==2.11.6
attrs==21.4.0
black==23.3.0
cffi==1.15.1
click==8.1.3
coverage==6.4.1
Expand All @@ -16,7 +17,9 @@ Jinja2==3.1.2
lazy-object-proxy==1.7.1
MarkupSafe==2.1.1
mccabe==0.6.1
packaging==21.3
mypy-extensions==1.0.0
packaging==23.1
pathspec==0.11.1
platformdirs==2.5.2
pluggy==1.0.0
py==1.11.0
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
black
coverage
flake8
flask
Expand Down

0 comments on commit f5e0b66

Please sign in to comment.