move mypy config into pyproject.toml (#29501)
* move mypy config into pyproject.toml * rm referencepull/29503/head
parent
a9626f95b6
commit
ff068dd722
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