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:
parent
be2c8bd789
commit
448c06d125
142 changed files with 249 additions and 25 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue