From e7232ba5627ff242545e44fb3913ce6045f8b50c Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Tue, 19 Dec 2017 10:38:06 +0000 Subject: [PATCH] Update the setup to not check migration files --- setup.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.cfg b/setup.cfg index 4ab5cc3de..334f0df92 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/* -- GitLab