Skip to content

Commit

Permalink
Merge pull request #5369 from oliver-sanders/clean-clean
Browse files Browse the repository at this point in the history
workflow_files: split overgrown module
  • Loading branch information
oliver-sanders authored Feb 24, 2023
2 parents 0d7d9a6 + f539f59 commit 3768d34
Show file tree
Hide file tree
Showing 13 changed files with 2,830 additions and 2,603 deletions.
495 changes: 495 additions & 0 deletions cylc/flow/clean.py

Large diffs are not rendered by default.

631 changes: 631 additions & 0 deletions cylc/flow/install.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions cylc/flow/network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import zmq
import zmq.asyncio
import zmq.auth

from cylc.flow import LOG
from cylc.flow.exceptions import (
Expand Down
2 changes: 1 addition & 1 deletion cylc/flow/scripts/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
from typing import TYPE_CHECKING, Iterable, List, Tuple

from cylc.flow import LOG
from cylc.flow.clean import init_clean, get_contained_workflows
from cylc.flow.exceptions import CylcError, InputError
import cylc.flow.flags
from cylc.flow.id_cli import parse_ids_async
Expand All @@ -74,7 +75,6 @@
Options,
)
from cylc.flow.terminal import cli_function, is_terminal
from cylc.flow.workflow_files import init_clean, get_contained_workflows

if TYPE_CHECKING:
from optparse import Values
Expand Down
2 changes: 1 addition & 1 deletion cylc/flow/scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
expand_path,
get_workflow_run_dir
)
from cylc.flow.workflow_files import (
from cylc.flow.install import (
install_workflow,
parse_cli_sym_dirs,
search_install_source_dirs
Expand Down
4 changes: 3 additions & 1 deletion cylc/flow/scripts/reinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
ServiceFileError,
WorkflowFilesError,
)
from cylc.flow.install import (
reinstall_workflow,
)
from cylc.flow.id_cli import parse_id
from cylc.flow.option_parsers import (
CylcOptionParser as COP,
Expand All @@ -91,7 +94,6 @@
from cylc.flow.workflow_files import (
get_workflow_source_dir,
load_contact_file,
reinstall_workflow,
)
from cylc.flow.terminal import cli_function, DIM, is_terminal

Expand Down
Loading

0 comments on commit 3768d34

Please sign in to comment.