diff --git a/menu_generator/utils.py b/menu_generator/utils.py
index 17df0c36d74efc193fafa3e0f6686398f635c0e3..b30051ed050cd6365dc6c6dd4a6d8938523fe5aa 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)