Skip to content

Commit

Permalink
style: fix with isort
Browse files Browse the repository at this point in the history
  • Loading branch information
k4black committed Dec 27, 2023
1 parent 0c52b38 commit bebd2d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
14 changes: 2 additions & 12 deletions checker/configs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
from .checker import CheckerTestingConfig # noqa: F401
from .checker import (
CheckerConfig,
CheckerExportConfig,
CheckerStructureConfig,
PipelineStageConfig,
) # noqa: F401
from .deadlines import (
DeadlinesConfig,
DeadlinesGroupConfig,
DeadlinesSettingsConfig,
DeadlinesTaskConfig,
) # noqa: F401
from .checker import CheckerConfig, CheckerExportConfig, CheckerStructureConfig, PipelineStageConfig # noqa: F401
from .deadlines import DeadlinesConfig, DeadlinesGroupConfig, DeadlinesSettingsConfig, DeadlinesTaskConfig # noqa: F401
from .task import TaskConfig # noqa: F401
5 changes: 1 addition & 4 deletions checker/configs/deadlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@


if sys.version_info < (3, 8):
from pytz import (
ZoneInfoNotFoundError as ZoneInfoNotFoundError,
timezone as ZoneInfo,
)
from pytz import ZoneInfoNotFoundError as ZoneInfoNotFoundError, timezone as ZoneInfo

Check warning on line 10 in checker/configs/deadlines.py

View check run for this annotation

Codecov / codecov/patch

checker/configs/deadlines.py#L10

Added line #L10 was not covered by tests
else:
from zoneinfo import ZoneInfo, ZoneInfoNotFoundError

Expand Down
6 changes: 1 addition & 5 deletions checker/configs/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@

from typing import Optional

from .checker import (
CheckerParametersConfig,
CheckerStructureConfig,
PipelineStageConfig,
)
from .checker import CheckerParametersConfig, CheckerStructureConfig, PipelineStageConfig
from .utils import CustomBaseModel, YamlLoaderMixin


Expand Down

0 comments on commit bebd2d0

Please sign in to comment.