mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-06 18:33:13 +03:00
mpyp: Always use --check-untyped-defs
`mypy EDMarketConnector.py` was throwing a warning: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] for some things. Bizarrely including e.g. play_bad: bool = False
This commit is contained in:
parent
b6fe115ea7
commit
6a580576ec
@ -2,4 +2,8 @@
|
|||||||
follow_imports = skip
|
follow_imports = skip
|
||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
scripts_are_modules = True
|
scripts_are_modules = True
|
||||||
|
; Without this bare `mypy <file>` may get warnings for e.g.
|
||||||
|
; `<var> = <value>`
|
||||||
|
; i.e. no typing info.
|
||||||
|
check-untyped-defs = True
|
||||||
; platform = darwin
|
; platform = darwin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user