adding --local-partial-types mypy opt (#30491)

old-commit-hash: 5b2bcf6bf220f88e11978e04a77226127b520efb
This commit is contained in:
Logan Lasiter
2023-11-18 22:47:11 -08:00
committed by GitHub
parent 54346eccee
commit 4f1ed42285
5 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ repos:
entry: mypy
language: system
types: [python]
args: ['--explicit-package-bases']
args: ['--explicit-package-bases', '--local-partial-types']
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.5