From: Frank Brehm Date: Thu, 14 Mar 2019 17:00:17 +0000 (+0100) Subject: Applying flake8 rules to some files X-Git-Tag: 1.6.4^2~27 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=d0f9330606c3170fc5331ee091587c8cfb630a64;p=pixelpark%2Fpuppetmaster-webhooks.git Applying flake8 rules to some files --- diff --git a/lib/webhooks/base_app.py b/lib/webhooks/base_app.py index 1239eef..8baef0e 100644 --- a/lib/webhooks/base_app.py +++ b/lib/webhooks/base_app.py @@ -46,7 +46,7 @@ from .module_info import ModuleInfo from .module_list import ModuleInfoDict -from .puppetfile import Puppetfile +from .puppetfile import PuppetfileError, Puppetfile from .xlate import __module_dir__ as __xlate_module_dir__ from .xlate import __base_dir__ as __xlate_base_dir__ diff --git a/show-env-html.py b/show-env-html.py index 44977eb..ebbbb2c 100755 --- a/show-env-html.py +++ b/show-env-html.py @@ -15,7 +15,7 @@ libdir = base_dir.joinpath('lib') sys.path.insert(0, str(libdir)) -from webhooks.show_env import ShowEnvApp +from webhooks.show_env import ShowEnvApp # noqa MY_APPNAME = my_path.stem LOG = logging.getLogger(MY_APPNAME) diff --git a/show-env.py b/show-env.py index 9a5fc2a..3c656d3 100755 --- a/show-env.py +++ b/show-env.py @@ -15,7 +15,7 @@ libdir = base_dir.joinpath('lib') sys.path.insert(0, str(libdir)) -from webhooks.show_env import ShowEnvApp +from webhooks.show_env import ShowEnvApp # noqa MY_APPNAME = my_path.stem LOG = logging.getLogger(MY_APPNAME)