diff --git a/Makefile b/Makefile index 17308d8..057cd6b 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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: diff --git a/requirements-dev.lock b/requirements-dev.lock index 357ee91..d1332d9 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -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 @@ -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 diff --git a/requirements-dev.txt b/requirements-dev.txt index 251451c..ae7a66b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ +black coverage flake8 flask