mirror of
https://github.com/clearml/clearml
synced 2025-06-23 01:55:38 +00:00
Flake8
This commit is contained in:
parent
a7b5890028
commit
d8ca5c73c4
@ -94,7 +94,7 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
|
|||||||
return str(self) == str(other)
|
return str(self) == str(other)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f"TaskTypes.{self.value}"
|
return "TaskTypes.{}".format(self.value)
|
||||||
|
|
||||||
training = 'training'
|
training = 'training'
|
||||||
testing = 'testing'
|
testing = 'testing'
|
||||||
@ -116,7 +116,7 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
|
|||||||
return str(self) == str(other)
|
return str(self) == str(other)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f"TaskTypes.{self.value}"
|
return "TaskTypes.{}".format(self.value)
|
||||||
|
|
||||||
created = "created"
|
created = "created"
|
||||||
queued = "queued"
|
queued = "queued"
|
||||||
|
4
clearml/external/kerastuner.py
vendored
4
clearml/external/kerastuner.py
vendored
@ -1,12 +1,10 @@
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
from logging import getLogger
|
from logging import getLogger
|
||||||
|
from ..task import Task
|
||||||
|
|
||||||
_logger = getLogger("clearml.external.kerastuner")
|
_logger = getLogger("clearml.external.kerastuner")
|
||||||
|
|
||||||
|
|
||||||
from ..task import Task
|
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
@ -3,6 +3,7 @@ clearml>=1.14.4
|
|||||||
matplotlib >= 3.1.1 ; python_version >= '3.6'
|
matplotlib >= 3.1.1 ; python_version >= '3.6'
|
||||||
matplotlib >= 2.2.4 ; python_version < '3.6'
|
matplotlib >= 2.2.4 ; python_version < '3.6'
|
||||||
numpy != 1.24.0 # https://github.com/numpy/numpy/issues/22826
|
numpy != 1.24.0 # https://github.com/numpy/numpy/issues/22826
|
||||||
|
bokeh_sampledata==2024.2 ; python_version >= '3.10'
|
||||||
pandas
|
pandas
|
||||||
pillow>=4.0
|
pillow>=4.0
|
||||||
plotly
|
plotly
|
||||||
|
Loading…
Reference in New Issue
Block a user