mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-08 06:34:03 -05:00
improve pre-commit [pr] (#7256)
* improve pre-commit [pr] * mypy passes on windows
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# on Windows -- $env:SKIP="devicetests,tests,example"
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
@@ -7,15 +8,15 @@ repos:
|
||||
language: system
|
||||
always_run: true
|
||||
pass_filenames: false
|
||||
- id: mypy
|
||||
name: mypy
|
||||
entry: python3 -m mypy tinygrad/ --strict-equality
|
||||
- id: tiny
|
||||
name: tiny tests
|
||||
entry: python3 -m pytest test/test_tiny.py
|
||||
language: system
|
||||
always_run: true
|
||||
pass_filenames: false
|
||||
- id: docs2
|
||||
name: docs2
|
||||
entry: python3 docs/abstractions2.py
|
||||
- id: mypy
|
||||
name: mypy
|
||||
entry: python3 -m mypy tinygrad/ --strict-equality
|
||||
language: system
|
||||
always_run: true
|
||||
pass_filenames: false
|
||||
|
||||
Reference in New Issue
Block a user