Browse Source

Add pycodestyle ignores

merge-requests/815/merge
Darko Poljak 3 years ago
parent
commit
3d3b59ab87
  1. 2
      bin/build-helper
  2. 2
      cdist/config.py
  3. 2
      cdist/emulator.py
  4. 4
      setup.py

2
bin/build-helper

@ -405,7 +405,7 @@ eof
;;
pycodestyle|pep8)
pycodestyle "${basedir}" "${basedir}/scripts/cdist" | less
pycodestyle "${basedir}" "${basedir}/scripts/cdist"
;;
check-pycodestyle)

2
cdist/config.py vendored

@ -368,7 +368,7 @@ class Config(object):
def resolve_target_addresses(host, family):
try:
return ipaddr.resolve_target_addresses(host, family)
except:
except: # noqa
e = sys.exc_info()[1]
raise cdist.Error(("Error resolving target addresses for host '{}'"
": {}").format(host, e))

2
cdist/emulator.py vendored

@ -44,7 +44,7 @@ class MissingRequiredEnvironmentVariableError(cdist.Error):
class DefaultList(list):
"""Helper class to allow default values for optional_multiple parameters.
@see https://groups.google.com/forum/#!msg/comp.lang.python/sAUvkJEDpRc/RnRymrzJVDYJ
@see https://groups.google.com/forum/#!msg/comp.lang.python/sAUvkJEDpRc/RnRymrzJVDYJ # noqa
"""
def __copy__(self):
return []

4
setup.py

@ -21,7 +21,7 @@ else:
raise DistutilsError("Missing version file {}".format(version_file))
import cdist
import cdist # noqa
def data_finder(data_dir):
@ -66,7 +66,7 @@ setup(
"Development Status :: 6 - Mature",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", # noqa
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: BSD",

Loading…
Cancel
Save