|
|
|
@ -32,6 +32,11 @@ repos: |
|
|
|
|
# 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 |
|
|
|
|
- --builtins clear,rare,informal,usage,code,names,en-GB_to_en-US |
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit |
|
|
|
|
rev: v0.2.2 |
|
|
|
|
hooks: |
|
|
|
|
- id: ruff |
|
|
|
|
exclude: '^(third_party/)|(cereal/)|(panda/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(teleoprtc/)|(teleoprtc_repo/)' |
|
|
|
|
- repo: local |
|
|
|
|
hooks: |
|
|
|
|
- id: mypy |
|
|
|
@ -43,11 +48,6 @@ repos: |
|
|
|
|
- --local-partial-types |
|
|
|
|
- --explicit-package-bases |
|
|
|
|
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(teleoprtc/)|(teleoprtc_repo/)|(xx/)' |
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit |
|
|
|
|
rev: v0.2.2 |
|
|
|
|
hooks: |
|
|
|
|
- id: ruff |
|
|
|
|
exclude: '^(third_party/)|(cereal/)|(panda/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(teleoprtc/)|(teleoprtc_repo/)' |
|
|
|
|
- repo: local |
|
|
|
|
hooks: |
|
|
|
|
- id: cppcheck |
|
|
|
|