More pylint-ing-fu.

This commit is contained in:
Romain Dorgueil
2016-12-26 14:10:03 +01:00
parent be9ef2cad8
commit 0fdfdafdc4
4 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# This file has been auto-generated. # This file has been auto-generated.
# All changes will be lost, see Projectfile. # All changes will be lost, see Projectfile.
# #
# Updated at 2016-12-26 11:52:20.154236 # Updated at 2016-12-26 14:09:09.609408
PYTHON ?= $(shell which python) PYTHON ?= $(shell which python)
PYTHON_BASENAME ?= $(shell basename $(PYTHON)) PYTHON_BASENAME ?= $(shell basename $(PYTHON))

View File

@ -40,5 +40,5 @@ def tee(f):
log = tee(pprint.pprint) log = tee(pprint.pprint)
def noop(*args, **kwargs): def noop(*args, **kwargs): # pylint: disable=unused-argument
pass pass

View File

@ -25,6 +25,6 @@ get_initializer, set_initializer = _create_lifecycle_functions('initializer', 'i
get_finalizer, set_finalizer = _create_lifecycle_functions('finalizer', 'finalize') get_finalizer, set_finalizer = _create_lifecycle_functions('finalizer', 'finalize')
def with_context(f): def with_context(func):
f._with_context = True func._with_context = True
return f return func

View File

@ -14,7 +14,7 @@ def read(filename, flt=None):
try: try:
version = read('version.txt') version = read('version.txt')
except: except: # pylint: disable=bare-except
version = 'dev' version = 'dev'
setup( setup(