Remove mypy configuration and references (#2995)

This commit is contained in:
Adeeb Shihadeh
2025-12-28 00:34:20 -08:00
committed by GitHub
parent fe7dbcfd59
commit 3981d353ec
3 changed files with 1 additions and 17 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,5 @@
.cache/
/build/
.mypy_cache/
*.pyc
*.os
*.o

View File

@@ -138,7 +138,7 @@ The above tests are themselves tested by:
* a [mutation test](opendbc/safety/tests/misra/test_mutation.py) on the MISRA coverage
* 100% line coverage enforced on the safety unit tests
In addition, we run the [ruff linter](https://github.com/astral-sh/ruff) and [mypy](https://mypy-lang.org/) on the car interface library.
In addition, we run the [ruff linter](https://github.com/astral-sh/ruff) and [ty](https://github.com/astral-sh/ty) on the car interface library.
### Bounties

View File

@@ -66,20 +66,6 @@ ignore-words-list = "alo,ba,bu,deque,hda,grey,arange"
builtin = "clear,rare,informal,code,names,en-GB_to_en-US"
check-hidden = true
[tool.mypy]
# helpful warnings
warn_redundant_casts=true
warn_unreachable=true
warn_unused_ignores=true
# restrict dynamic typing
warn_return_any=true
# allow implicit optionals for default args
implicit_optional = true
explicit_package_bases=true
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
[tool.ruff]
line-length = 160
@@ -135,7 +121,6 @@ possibly-missing-attribute = "ignore"
unresolved-attribute = "ignore"
unresolved-import = "ignore"
# Project uses mypy's implicit_optional = true style
invalid-parameter-default = "ignore"
# Intentional LSP violations in subclass method signatures