44
55import typer
66
7+ from usethis ._config import usethis_config
78from usethis ._ui .options import offline_opt , quiet_opt
89
910if TYPE_CHECKING :
@@ -27,7 +28,6 @@ def pypi(
2728 quiet : bool = quiet_opt ,
2829 show : bool = show_opt ,
2930) -> None :
30- from usethis ._config import usethis_config
3131 from usethis ._config_file import files_manager
3232 from usethis ._core .badge import get_pypi_badge
3333
@@ -42,7 +42,6 @@ def ruff(
4242 quiet : bool = quiet_opt ,
4343 show : bool = show_opt ,
4444) -> None :
45- from usethis ._config import usethis_config
4645 from usethis ._config_file import files_manager
4746 from usethis ._core .badge import get_ruff_badge
4847
@@ -57,7 +56,6 @@ def pre_commit(
5756 quiet : bool = quiet_opt ,
5857 show : bool = show_opt ,
5958) -> None :
60- from usethis ._config import usethis_config
6159 from usethis ._config_file import files_manager
6260 from usethis ._core .badge import get_pre_commit_badge
6361
@@ -74,7 +72,6 @@ def socket(
7472 quiet : bool = quiet_opt ,
7573 show : bool = show_opt ,
7674) -> None :
77- from usethis ._config import usethis_config
7875 from usethis ._config_file import files_manager
7976 from usethis ._core .badge import get_socket_badge
8077
@@ -89,7 +86,6 @@ def usethis(
8986 quiet : bool = quiet_opt ,
9087 show : bool = show_opt ,
9188) -> None :
92- from usethis ._config import usethis_config
9389 from usethis ._config_file import files_manager
9490 from usethis ._core .badge import get_usethis_badge
9591
@@ -104,7 +100,6 @@ def uv(
104100 quiet : bool = quiet_opt ,
105101 show : bool = show_opt ,
106102) -> None :
107- from usethis ._config import usethis_config
108103 from usethis ._config_file import files_manager
109104 from usethis ._core .badge import get_uv_badge
110105
0 commit comments