|
|
|
@ -4,11 +4,12 @@ repos: |
|
|
|
|
- id: check-hooks-apply |
|
|
|
|
- id: check-useless-excludes |
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks |
|
|
|
|
rev: v4.1.0 |
|
|
|
|
rev: v4.4.0 |
|
|
|
|
hooks: |
|
|
|
|
- id: check-ast |
|
|
|
|
exclude: '^(third_party)/' |
|
|
|
|
- id: check-json |
|
|
|
|
- id: check-toml |
|
|
|
|
- id: check-xml |
|
|
|
|
- id: check-yaml |
|
|
|
|
- id: check-merge-conflict |
|
|
|
@ -16,7 +17,7 @@ repos: |
|
|
|
|
- id: check-added-large-files |
|
|
|
|
args: ['--maxkb=100'] |
|
|
|
|
- repo: https://github.com/codespell-project/codespell |
|
|
|
|
rev: v2.2.1 |
|
|
|
|
rev: v2.2.4 |
|
|
|
|
hooks: |
|
|
|
|
- id: codespell |
|
|
|
|
exclude: '^(third_party/)|(body/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(opendbc/)|(laika_repo/)|(rednose_repo/)|(selfdrive/ui/translations/.*.ts)|(poetry.lock)' |
|
|
|
@ -33,7 +34,7 @@ repos: |
|
|
|
|
types: [python] |
|
|
|
|
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)' |
|
|
|
|
- repo: https://github.com/PyCQA/flake8 |
|
|
|
|
rev: 4.0.1 |
|
|
|
|
rev: 6.0.0 |
|
|
|
|
hooks: |
|
|
|
|
- id: flake8 |
|
|
|
|
exclude: '^(third_party/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(opendbc/)|(laika_repo/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(selfdrive/debug/)/' |
|
|
|
@ -79,6 +80,6 @@ repos: |
|
|
|
|
language: script |
|
|
|
|
pass_filenames: false |
|
|
|
|
- repo: https://github.com/python-poetry/poetry |
|
|
|
|
rev: '1.2.2' |
|
|
|
|
rev: '1.4.0' |
|
|
|
|
hooks: |
|
|
|
|
- id: poetry-check |
|
|
|
|