diff --git a/setup.cfg b/setup.cfg index 4ab5cc3deff7bec1cd567a0cbb99204f57f8bd0b..334f0df926a5bdafcc6d5c3a184ae04f587a219f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,13 +5,19 @@ ignore_missing_imports = True [mypy-opentech.*] ignore_errors = True +# Turn on type checking in the apply folder [mypy-opentech.apply.*] check_untyped_defs = True ignore_errors = False +# Enforce writing type definitions within workflow [mypy-opentech.apply.workflow*] disallow_untyped_defs = True +# Exclude migrations globally - must be at end +[mypy-*.migrations*] +ignore_errors = True + [flake8] ignore=E501,F405 exclude=*/migrations/*