File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -20,20 +20,17 @@ jobs:
2020 - name : Install Python dependencies
2121 run : poetry install --no-interaction
2222 - name : Execute pre-commit handler
23+ continue-on-error : true
2324 run : |
2425 poetry run pre-commit run check-toml
2526 poetry run pre-commit run trailing-whitespace
2627 poetry run pre-commit run end-of-file-fixer
2728 poetry run pre-commit run ruff
2829 poetry run pre-commit run ruff-format
2930 - name : Execute mypy
31+ continue-on-error : true
3032 run : |
31- poetry run mypy --config-file pyproject.toml core > mypy.log 2>&1
32- if [ -s mypy.log ]; then
33- cat mypy.log
34- echo "Mypy issues found. Generating report...";
35- cat mypy.log | poetry run python scripts/mypy_report.py
36- exit 1
37- else
38- echo "No mypy issues found.";
39- fi
33+ make mypy-core
34+ - name : generate mypy report
35+ run : |
36+ make mypy-core-report
Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ coverage: ## Target to combine and report coverage.
3131lint : # # Lint all files in the project, which we also run in pre-commit
3232 poetry run pre-commit run -a
3333
34- mypy-core-report :
34+ mypy-core : # # Run mypy on the core package
35+ poetry run mypy --config-file pyproject.toml core
36+
37+ mypy-core-report : # # Generate a report for mypy on the core package
3538 poetry run mypy --config-file pyproject.toml core | poetry run python scripts/mypy_report.py
3639
3740docs : # # Build the docs for the project
You can’t perform that action at this time.
0 commit comments