mirror of
https://github.com/clearml/clearml
synced 2025-04-25 08:51:16 +00:00
Fix PEP8 issues
This commit is contained in:
parent
701582d5ff
commit
9e69b09c9f
@ -3221,8 +3221,10 @@ class PipelineController(object):
|
||||
name=artifact_name,
|
||||
artifact_object=artifact_object,
|
||||
wait_on_upload=True,
|
||||
extension_name=".pkl" if isinstance(artifact_object, dict) and
|
||||
not self._artifact_serialization_function else None,
|
||||
extension_name=(
|
||||
".pkl" if isinstance(artifact_object, dict) and not self._artifact_serialization_function
|
||||
else None
|
||||
),
|
||||
serialization_function=self._artifact_serialization_function
|
||||
)
|
||||
|
||||
|
@ -246,7 +246,6 @@ class PatchOsFork(object):
|
||||
|
||||
os._exit = _at_exit_callback
|
||||
|
||||
|
||||
@staticmethod
|
||||
def _patched_fork(*args, **kwargs):
|
||||
if not PatchOsFork._current_task:
|
||||
|
@ -287,7 +287,7 @@ class WrapperBase(type):
|
||||
# (http://code.activestate.com/recipes/496741/). It adds special methods
|
||||
# to the wrapper class so it can proxy the wrapped class. In addition, it
|
||||
# adds a field __overrides__ in the wrapper class dictionary, containing
|
||||
# all attributes decorated to be overriden.
|
||||
# all attributes decorated to be overridden.
|
||||
|
||||
_special_names = [
|
||||
'__abs__', '__add__', '__and__', '__call__', '__cmp__', '__coerce__',
|
||||
@ -303,7 +303,7 @@ class WrapperBase(type):
|
||||
'__repr__', '__reversed__', '__rfloorfiv__', '__rlshift__', '__rmod__',
|
||||
'__rmul__', '__ror__', '__rpow__', '__rrshift__', '__rshift__', '__rsub__',
|
||||
'__rtruediv__', '__rxor__', '__setitem__', '__setslice__', '__sub__',
|
||||
'__truediv__', '__xor__', 'next', '__str__', '__repr__',
|
||||
'__truediv__', '__xor__', 'next', '__str__', '__repr__',
|
||||
'__round__', '__fspath__', '__bytes__', '__index__'
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user