mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 02:27:21 +00:00
Add mypy to style target (for non-driver code)
My patience with mypy is very thin, but it does catch some stuff that other checkers don't, even outside the realm of typing. This should at least make sure any type annotations we _do_ get are correct. There are a lot of errors in the drivers, so limit this to just the core code for now.
This commit is contained in:
parent
4b482efb00
commit
9260e3a8e1
5
.mypy.ini
Normal file
5
.mypy.ini
Normal file
@ -0,0 +1,5 @@
|
||||
[mypy]
|
||||
disable_error_code=import-untyped,var-annotated,import-not-found
|
||||
|
||||
[mypy-chirp.drivers.*]
|
||||
disable_error_code=assignment
|
Loading…
Reference in New Issue
Block a user