77)
88from usethis ._tool .impl .codespell import CodespellTool
99from usethis ._tool .impl .deptry import DeptryTool
10+ from usethis ._tool .impl .import_linter import ImportLinterTool
1011from usethis ._tool .impl .pre_commit import PreCommitTool
1112from usethis ._tool .impl .pyproject_fmt import PyprojectFmtTool
1213from usethis ._tool .impl .pytest import PytestTool
@@ -23,13 +24,15 @@ def use_ci_bitbucket(*, remove: bool = False, how: bool = False) -> None:
2324 use_pytest = PytestTool ().is_used ()
2425 use_ruff = RuffTool ().is_used ()
2526 use_deptry = DeptryTool ().is_used ()
27+ use_import_linter = ImportLinterTool ().is_used ()
2628 use_pyproject_fmt = PyprojectFmtTool ().is_used ()
2729 use_codespell = CodespellTool ().is_used ()
2830 use_any_tool = (
2931 use_pre_commit
3032 or use_pytest
3133 or use_ruff
3234 or use_deptry
35+ or use_import_linter
3336 or use_pyproject_fmt
3437 or use_codespell
3538 )
@@ -39,11 +42,12 @@ def use_ci_bitbucket(*, remove: bool = False, how: bool = False) -> None:
3942 if use_pre_commit :
4043 PreCommitTool ().update_bitbucket_steps ()
4144 else :
42- # This order should match the canonical order in the function which add
45+ # This order should match the canonical order in the function which adds
4346 # steps
4447 PyprojectFmtTool ().update_bitbucket_steps ()
4548 RuffTool ().update_bitbucket_steps ()
4649 DeptryTool ().update_bitbucket_steps ()
50+ ImportLinterTool ().update_bitbucket_steps ()
4751 CodespellTool ().update_bitbucket_steps ()
4852
4953 PytestTool ().update_bitbucket_steps ()
0 commit comments