conservancy_beancount/setup.cfg
Brett Smith 747ef25da6 setup: Disallow untyped defs.
Mostly this meant giving annotations to low-value functions like
the error classes and __init_subclass__, but it's worth it for
the future strictness+documentation value.
2020-03-29 23:18:40 -04:00

13 lines
297 B
INI

[aliases]
test=pytest
typecheck=pytest --addopts="--mypy conservancy_beancount"
[mypy]
disallow_any_unimported = True
disallow_untyped_defs = True
show_error_codes = True
strict_equality = True
warn_redundant_casts = True
warn_return_any = True
warn_unreachable = True
warn_unused_configs = True