1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 16:50:34 +03:00

5 Commits

Author SHA1 Message Date
Athanasius
61bdb54eb1
.mypy.ini: Add --explicit-package-bases to help with pre-commit invocation 2022-12-23 14:46:57 +00:00
Athanasius
f1b2022aa2
.mypy.ini: s/-/_/g on check-untyped-defs 2022-12-16 13:27:21 +00:00
Athanasius
6a580576ec
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
2022-12-08 11:29:49 +00:00
A_D
f160acfe57
add configs for switching platforms 2022-01-26 18:51:49 +02:00
Athanasius
f5fad1c23d Add .mypy.ini and .pre-commit-config.yaml files
* With mypy we need to set some options for sane output.
* With pre-commit this defines the checks it performs.
2020-09-28 11:16:25 +01:00