Skip to content

Commit 6630e78

Browse files
committed
Changed # noqa to # pragma: no cover
1 parent 0326ccd commit 6630e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

menu_generator/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def clean_app_config(app_path):
3030
new_app = '.'.join(app_split[:-2])
3131
if new_app in apps_names:
3232
return new_app
33-
else: # noqa
33+
else: # pragma: no cover
3434
raise ImproperlyConfigured(
3535
"The application {0} is not in the configured apps or does" +
3636
"not have the pattern app.apps.AppConfig".format(app_path)

0 commit comments

Comments
 (0)