generate and print mypy lineprecision report (#7809)

This commit is contained in:
chenyu
2024-11-20 16:53:17 -05:00
committed by GitHub
parent c815d7b56e
commit 46aa23539f
+1 -1
View File
@@ -229,7 +229,7 @@ jobs:
- name: Lint tinygrad with pylint
run: python -m pylint tinygrad/
- name: Run mypy
run: python -m mypy --strict-equality
run: python -m mypy --strict-equality --lineprecision-report . && cat lineprecision.txt
- name: Test README
run: awk '/```python/{flag=1;next}/```/{flag=0}flag' README.md > README.py && PYTHONPATH=. python README.py
- name: Run unit tests