Some checks failed
Test / pytest (pull_request) Failing after 21s
- Add mypy>=1.0 to requirements.txt - Create mypy.ini config (Python 3.11, ignore missing imports, warn_unused_ignores) - Add `make typecheck` target (runs mypy on scripts/ and tests/) - Update CI workflow to run typecheck before pytest - Type checker detected per project (Python → mypy) - Reports type errors via mypy output Closes #157
8 lines
170 B
Makefile
8 lines
170 B
Makefile
.PHONY: test typecheck
|
|
|
|
test:
|
|
python3 -m pytest tests/test_ci_config.py scripts/test_*.py -v
|
|
|
|
typecheck:
|
|
mypy scripts/ tests/ --config-file=mypy.ini --show-error-codes
|