Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-04-21 16:19:37 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2017-04-21 16:19:37 +0300
commitf48f38ac221833c00ce52e47672e9ec529cb2ace (patch)
tree8ed3cac3da449f62cc29faaa8fea041d19240046
parent6b88baf0819dc7cc2715790b93b2e289585ae8cf (diff)
Check for and fix pep8 E241 multiple spaces after ','
-rw-r--r--calm/maintainers.py2
-rwxr-xr-xcalm/package.py2
-rwxr-xr-xpep82
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)
diff --git a/pep8 b/pep8
index 88158d7..3189fd5 100755
--- a/pep8
+++ b/pep8
@@ -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