Run mypy checks in test workflow and on push (via pre-commit)

- Run mypy on git push (not every commit) but for all files
  - Running it on pre-commit, doesn't make sense as mypy wants to look
    at all files, not just diff files
  - But this is too time consuming to run every commit, so run on push

- Update development section documentation on installing, manually
  running pre-commit for validation that includes running mypy checks
This commit is contained in:
Debanjum Singh Solanky
2023-02-17 14:29:12 -06:00
parent 5c0d340970
commit fd0a2f55f8
3 changed files with 15 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ jobs:
run: pip install --upgrade .[dev]
- name: Validate Application
run: pre-commit
run: pre-commit run --hook-stage manual --all
- name: Test Application
run: pytest