Skip to content

Commit

Permalink
add doc generation to local tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fschlatt committed Feb 14, 2021
1 parent 4c3fd86 commit 52ca147
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion run_local_tests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/usr/bin/env bash

isort .
black .
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
mypy . --config-file=mypy.ini
pytest --cov clubs/ --cov-report html test/
pytest --cov clubs/ --cov-report html test/
sphix-apidoc -F -o docs clubs
cd docs && make html
cd ..

0 comments on commit 52ca147

Please sign in to comment.