Merge pull request #2643 from coolo/fix_e265

Remove E265 from flake ignore list
This commit is contained in:
Stephan Kulow 2021-09-21 15:26:45 +02:00 committed by GitHub
commit 009ead7be3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 13 deletions

View File

@ -1,4 +1,4 @@
[flake8] [flake8]
exclude = abichecker exclude = abichecker
max-line-length = 100 max-line-length = 100
ignore = E501,F401,E128,E251,E201,E202,E302,E305,F841,E261,E265,E712,E126,E711,E125,E123,E101,E124,E127,E701,E714,W504,E129,E741,E722,E731 ignore = E501,F401,E128,E251,E201,E202,E302,E305,F841,E261,E712,E126,E711,E125,E123,E101,E124,E127,E701,E714,W504,E129,E741,E722,E731

View File

@ -89,7 +89,6 @@ class Fetcher(object):
unresolvable += count unresolvable += count
continue continue
building += count building += count
#print(code, file=sys.stderr)
# let's count them as building # let's count them as building
if building > 0: if building > 0:
building += unresolvable building += unresolvable

View File

@ -61,7 +61,6 @@ def check_pkgs(rebuild_list):
def rebuild_pkg_in_factory(package, prj, arch, testmode, code=None): def rebuild_pkg_in_factory(package, prj, arch, testmode, code=None):
query = { 'cmd': 'rebuild', 'arch': arch } query = { 'cmd': 'rebuild', 'arch': arch }
#prj = "home:jzwickl"
if package: if package:
query['package'] = package query['package'] = package
pkg = query['package'] pkg = query['package']