Skip to content
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

use black formatter #14

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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