tinygrad/.pre-commit-config.yaml

22 lines
610 B
YAML
Raw Normal View History

repos:
2023-01-27 14:29:20 +08:00
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint tinygrad/
language: system
always_run: true
pass_filenames: false
2023-01-27 14:31:45 +08:00
- id: flake8
name: flake8
entry: flake8 tinygrad/ --indent-size=2 --select=F,E112,E113,E304,E502,E702,E703,E71,E72,E731,W191,W6 --statistics -j4
language: system
always_run: true
pass_filenames: false
2023-01-27 14:29:20 +08:00
- id: mypy
name: mypy
2023-02-22 23:07:38 +08:00
entry: mypy tinygrad/ test/ --ignore-missing-imports
2023-01-27 14:29:20 +08:00
language: system
always_run: true
pass_filenames: false