File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5+ import argparse
56import copy
67import logging
78import pathlib
2324 workspace_root_label ,
2425)
2526
26- if t .TYPE_CHECKING :
27- import argparse
28-
2927log = logging .getLogger (__name__ )
3028
3129
Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5+ import argparse
56import logging
67import os
78import pathlib
2324 workspace_root_label ,
2425)
2526
26- if t .TYPE_CHECKING :
27- import argparse
28-
2927log = logging .getLogger (__name__ )
3028
3129ConfigScope = t .Literal ["system" , "user" , "project" , "external" ]
Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5+ import argparse
56import copy
67import logging
78import pathlib
2021 save_config_yaml ,
2122)
2223
23- if t .TYPE_CHECKING :
24- import argparse
25-
2624log = logging .getLogger (__name__ )
2725
2826
Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5+ import argparse
56import logging
6- import typing as t
7+ import pathlib
78
89from vcspull ._internal .private_path import PrivatePath
910from vcspull .config import filter_repos , find_config_files , load_configs
11+ from vcspull .types import ConfigDict
1012
1113from ._colors import Colors , get_color_mode
1214from ._output import OutputFormatter , get_output_mode
1315from ._workspaces import filter_by_workspace
1416
15- if t .TYPE_CHECKING :
16- import argparse
17- import pathlib
18-
19- from vcspull .types import ConfigDict
20-
2117log = logging .getLogger (__name__ )
2218
2319
Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5+ import argparse
56import asyncio
67import logging
78import os
1516
1617from vcspull ._internal .private_path import PrivatePath
1718from vcspull .config import filter_repos , find_config_files , load_configs
19+ from vcspull .types import ConfigDict
1820
1921from ._colors import Colors , get_color_mode
2022from ._output import OutputFormatter , get_output_mode
2123from ._workspaces import filter_by_workspace
2224
23- if t .TYPE_CHECKING :
24- import argparse
25-
26- from vcspull .types import ConfigDict
27-
2825log = logging .getLogger (__name__ )
2926
3027DEFAULT_STATUS_CONCURRENCY = max (1 , min (32 , (os .cpu_count () or 4 ) * 2 ))
Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5+ import argparse
56import asyncio
67import contextlib
78import json
2021from time import perf_counter
2122
2223from libvcs ._internal .shortcuts import create_project
24+ from libvcs ._internal .types import VCSLiteral
25+ from libvcs .sync .git import GitSync
2326from libvcs .url import registry as url_tools
2427
2528from vcspull import exc
2629from vcspull ._internal .private_path import PrivatePath
2730from vcspull .config import filter_repos , find_config_files , load_configs
31+ from vcspull .types import ConfigDict
2832
2933from ._colors import Colors , get_color_mode
3034from ._output import (
4044from ._workspaces import filter_by_workspace
4145from .status import check_repo_status
4246
43- if t .TYPE_CHECKING :
44- import argparse
45-
46- from libvcs ._internal .types import VCSLiteral
47- from libvcs .sync .git import GitSync
48-
49- from vcspull .types import ConfigDict
50-
5147log = logging .getLogger (__name__ )
5248
5349ProgressCallback = Callable [[str , datetime ], None ]
You can’t perform that action at this time.
0 commit comments