diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-04-21 16:19:37 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2017-04-21 16:19:37 +0300 |
commit | f48f38ac221833c00ce52e47672e9ec529cb2ace (patch) | |
tree | 8ed3cac3da449f62cc29faaa8fea041d19240046 | |
parent | 6b88baf0819dc7cc2715790b93b2e289585ae8cf (diff) |
Check for and fix pep8 E241 multiple spaces after ','
-rw-r--r-- | calm/maintainers.py | 2 | ||||
-rwxr-xr-x | calm/package.py | 2 | ||||
-rwxr-xr-x | pep8 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/calm/maintainers.py b/calm/maintainers.py index d8f7c46..b1b43dc 100644 --- a/calm/maintainers.py +++ b/calm/maintainers.py @@ -132,7 +132,7 @@ class Maintainer(object): # add maintainers from the package maintainers list, with the packages they # maintain @staticmethod - def add_packages(mlist, pkglist, orphanMaint=None): + def add_packages(mlist, pkglist, orphanMaint=None): with open(pkglist) as f: for (i, l) in enumerate(f): l = l.rstrip() diff --git a/calm/package.py b/calm/package.py index 37513a2..81069f2 100755 --- a/calm/package.py +++ b/calm/package.py @@ -287,7 +287,7 @@ def read_package(packages, basedir, dirpath, files, strict=False, remove=[], upl hint_fn = '%s-%s.hint' % (p, vr) if hint_fn in files: # is there a PVR.hint file? - pvr_hint = read_hints(p, os.path.join(dirpath, hint_fn), hint.pvr) + pvr_hint = read_hints(p, os.path.join(dirpath, hint_fn), hint.pvr) if not pvr_hint: return True warnings = clean_hints(p, pvr_hint, strict_lvl, warnings) @@ -1,2 +1,2 @@ #!/bin/sh -grep -s -l '^#!/usr/bin/env python' calm/* tests/* | xargs python3 -m pep8 --count --show-source --max-line-length=240 +grep -s -l '^#!/usr/bin/env python' calm/* tests/* | xargs python3 -m pep8 --count --show-source --max-line-length=240 --ignore=E226 |