mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
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:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user