1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17: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:
Athanasius 2022-12-08 11:29:49 +00:00
parent b6fe115ea7
commit 6a580576ec
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -2,4 +2,8 @@
follow_imports = skip
ignore_missing_imports = 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