From 0d2f2670862940e47f92ba837e6bdce77e46690f Mon Sep 17 00:00:00 2001
From: Dan Braghis <dan.braghis@torchbox.com>
Date: Thu, 8 Mar 2018 16:46:30 +0000
Subject: [PATCH] Exclude mgmt commands from mypy

---
 setup.cfg | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/setup.cfg b/setup.cfg
index 28cc5bb72..f0ffa402e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -21,6 +21,10 @@ disallow_untyped_defs = True
 [mypy-*.migrations*]
 ignore_errors = True
 
+# Exclude management commands globally - must be at end
+[mypy-*.management*]
+ignore_errors = True
+
 [flake8]
 ignore = E501,F405
 exclude = migrations,node_modules
-- 
GitLab