Skip to content

Commit

Permalink
fix: fix mkdocs error upon pw build by changing check_docs to check-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
meramsey committed Feb 8, 2022
1 parent d40f113 commit b0dda3c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,11 @@ test = "poetry run pytest -c config/pytest.ini tests"
check-pylint = "pylint src tests docs/macros.py"
check-black = "black src tests docs/macros.py --check"
check = "pw@ check-black && pw@ check-pylint && pw@ test"
check-all = "pw@ check_code_quality && pw@ check_types && pw@ check_docs && pw@ check_safety"
check-all = "pw@ check_code_quality && pw@ check_types && pw@ check-docs && pw@ check_safety"
check_types = "poetry run mypy --config-file config/mypy.ini src tests duties.py docs/macros.py"
check_safety = "poetry export -f requirements.txt --without-hashes | safety check --stdin --full-report"
check_code_quality = "flake8 --config=config/flake8.ini src tests duties.py docs/macros.py"
check_docs = """\
mkdir -p build/coverage
touch build/coverage/index.html
mkdocs build -s"""
check-docs = "poetry run duty check_docs"
docs = "mkdocs build"
docs_serve = "mkdocs serve -a 127.0.0.1:8000"
docs_deploy = "mkdocs gh-deploy"
Expand Down

0 comments on commit b0dda3c

Please sign in to comment.