pep8 blank lines fixes

flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
This commit is contained in:
Laurent Bachelier 2014-10-10 23:04:08 +02:00
commit 448c06d125
142 changed files with 249 additions and 25 deletions

View file

@ -199,6 +199,7 @@ class GithubBrowser(Browser):
# TODO use a cache for objects and/or pages?
# TODO use an api-key?
def parse_date(s):
if s.endswith('Z'):
s = s[:-1]

View file

@ -32,6 +32,7 @@ STATUSES = {'open': Status('open', u'Open', Status.VALUE_NEW),
'closed': Status('closed', u'closed', Status.VALUE_RESOLVED)}
# TODO tentatively parse github "labels"?
class GithubModule(Module, CapBugTracker):
NAME = 'github'
DESCRIPTION = u'GitHub issues tracking'