From 40e8fa2d55495b089eca4d8c91d68f53ac18e8db Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 18 2017 15:18:59 +0000 Subject: Ignore some of the import that are useful although not apparently used Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/lib/lib_ci.py b/pagure/lib/lib_ci.py index e33b809..624adee 100644 --- a/pagure/lib/lib_ci.py +++ b/pagure/lib/lib_ci.py @@ -17,7 +17,7 @@ import pagure.lib # This import is needed as pagure.lib relies on Project.ci_hook to be # defined and accessible and this happens in pagure.hooks.pagure_ci -from pagure.hooks import pagure_ci # noqa: E402 +from pagure.hooks import pagure_ci # noqa: E402,F401 BUILD_STATS = { diff --git a/pagure/lib/model.py b/pagure/lib/model.py index b551c53..5c68750 100644 --- a/pagure/lib/model.py +++ b/pagure/lib/model.py @@ -9,7 +9,7 @@ """ __requires__ = ['SQLAlchemy >= 0.8', 'jinja2 >= 2.4'] # noqa -import pkg_resources # noqa: E402 +import pkg_resources # noqa: E402,F401 import datetime import collections