move mypy config into pyproject.toml (#29501)
* move mypy config into pyproject.toml
* rm reference
old-commit-hash: ff068dd722
beeps
parent
16ec56398c
commit
bd27be2b78
3 changed files with 31 additions and 17 deletions
@ -1,16 +0,0 @@ |
||||
[mypy] |
||||
python_version = 3.11 |
||||
plugins = numpy.typing.mypy_plugin |
||||
files = body, common, docs, scripts, selfdrive, site_scons, system, tools |
||||
exclude = ^(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/) |
||||
|
||||
; third-party packages |
||||
ignore_missing_imports = True |
||||
|
||||
; helpful warnings |
||||
warn_redundant_casts = True |
||||
warn_unreachable = True |
||||
warn_unused_ignores = True |
||||
|
||||
; restrict dynamic typing |
||||
warn_return_any = True |
Loading…
Reference in new issue