Improved flake8 results
This commit is contained in:
parent
fb606b189d
commit
3b9ef670fe
24 changed files with 256 additions and 126 deletions
|
|
@ -7,7 +7,7 @@ from contextlib import contextmanager
|
|||
@contextmanager
|
||||
def set_properties(obj, **kwargs):
|
||||
"""A context manager to set, then reset, certain properties of an object.
|
||||
|
||||
|
||||
The first argument is the object, subsequent keyword arguments are properties
|
||||
of said object, which are set initially, then reset to their previous values.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue