mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
`deltachat.const` module now defines `__getattr__` and `__dir__` as suggested by https://www.python.org/dev/peps/pep-0562/ mypy detects that `__getattr__` is defined and does not show errors for `DC_*` constants which cannot be detected statically. mypy is added to `tox.ini`, so type check can be run with `tox -e mypy`.
20 lines
300 B
INI
20 lines
300 B
INI
[mypy]
|
|
|
|
[mypy-deltachat.capi.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-pluggy.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-cffi.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-imapclient.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-pytest.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-_pytest.*]
|
|
ignore_missing_imports = True
|