From 0326ccd036476328afedb47a1a4101827b2fb97d Mon Sep 17 00:00:00 2001
From: yamijuan <juandgoc@gmail.com>
Date: Mon, 19 Feb 2018 12:43:08 -0500
Subject: [PATCH] Exclude exception from coverage

---
 menu_generator/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/menu_generator/utils.py b/menu_generator/utils.py
index 17df0c3..b30051e 100755
--- a/menu_generator/utils.py
+++ b/menu_generator/utils.py
@@ -30,7 +30,7 @@ def clean_app_config(app_path):
         new_app = '.'.join(app_split[:-2])
         if new_app in apps_names:
             return new_app
-        else:
+        else:  # noqa
             raise ImproperlyConfigured(
                 "The application {0} is not in the configured apps or does" +
                 "not have the pattern app.apps.AppConfig".format(app_path)
-- 
GitLab