747ef25da6
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.
13 lines
297 B
INI
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
|