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

@ -40,5 +40,5 @@ def tee(f):
log = tee(pprint.pprint)
def noop(*args, **kwargs):
def noop(*args, **kwargs): # pylint: disable=unused-argument
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')
def with_context(f):
f._with_context = True
return f
def with_context(func):
func._with_context = True
return func