|
|
@ -24,16 +24,16 @@ repos: |
|
|
|
- --maxkb=120 |
|
|
|
- --maxkb=120 |
|
|
|
- --enforce-all |
|
|
|
- --enforce-all |
|
|
|
- repo: https://github.com/codespell-project/codespell |
|
|
|
- repo: https://github.com/codespell-project/codespell |
|
|
|
rev: v2.2.6 |
|
|
|
rev: v2.3.0 |
|
|
|
hooks: |
|
|
|
hooks: |
|
|
|
- id: codespell |
|
|
|
- id: codespell |
|
|
|
exclude: '^(third_party/)|(body/)|(msgq/)|(panda/)|(opendbc/)|(rednose/)|(rednose_repo/)|(teleoprtc/)|(teleoprtc_repo/)|(selfdrive/ui/translations/.*.ts)|(poetry.lock)' |
|
|
|
exclude: '^(third_party/)|(body/)|(msgq/)|(panda/)|(opendbc/)|(rednose/)|(rednose_repo/)|(teleoprtc/)|(teleoprtc_repo/)|(selfdrive/ui/translations/.*.ts)|(poetry.lock)' |
|
|
|
args: |
|
|
|
args: |
|
|
|
# if you've got a short variable name that's getting flagged, add it here |
|
|
|
# if you've got a short variable name that's getting flagged, add it here |
|
|
|
- -L bu,ro,te,ue,alo,hda,ois,nam,nams,ned,som,parm,setts,inout,warmup,bumb,nd,sie,preints |
|
|
|
- -L bu,ro,te,ue,alo,hda,ois,nam,nams,ned,som,parm,setts,inout,warmup,bumb,nd,sie,preints,whit,indexIn |
|
|
|
- --builtins clear,rare,informal,usage,code,names,en-GB_to_en-US |
|
|
|
- --builtins clear,rare,informal,usage,code,names,en-GB_to_en-US |
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit |
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit |
|
|
|
rev: v0.4.4 |
|
|
|
rev: v0.4.8 |
|
|
|
hooks: |
|
|
|
hooks: |
|
|
|
- id: ruff |
|
|
|
- id: ruff |
|
|
|
exclude: '^(third_party/)|(msgq/)|(panda/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(teleoprtc/)|(teleoprtc_repo/)' |
|
|
|
exclude: '^(third_party/)|(msgq/)|(panda/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(teleoprtc/)|(teleoprtc_repo/)' |
|
|
@ -98,6 +98,6 @@ repos: |
|
|
|
args: |
|
|
|
args: |
|
|
|
- --lock |
|
|
|
- --lock |
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema |
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema |
|
|
|
rev: 0.28.3 |
|
|
|
rev: 0.28.4 |
|
|
|
hooks: |
|
|
|
hooks: |
|
|
|
- id: check-github-workflows |
|
|
|
- id: check-github-workflows |
|
|
|