-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathall_.py
More file actions
52 lines (47 loc) · 1.46 KB
/
all_.py
File metadata and controls
52 lines (47 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
"""Registry of all available tools."""
from __future__ import annotations
from typing import TypeAlias
from usethis._tool.impl.base.codespell import CodespellTool
from usethis._tool.impl.base.coverage_py import CoveragePyTool
from usethis._tool.impl.base.deptry import DeptryTool
from usethis._tool.impl.base.import_linter import ImportLinterTool
from usethis._tool.impl.base.mkdocs import MkDocsTool
from usethis._tool.impl.base.pre_commit import PreCommitTool
from usethis._tool.impl.base.pyproject_fmt import PyprojectFmtTool
from usethis._tool.impl.base.pyproject_toml import PyprojectTOMLTool
from usethis._tool.impl.base.pytest import PytestTool
from usethis._tool.impl.base.requirements_txt import RequirementsTxtTool
from usethis._tool.impl.base.ruff import RuffTool
from usethis._tool.impl.base.tach import TachTool
from usethis._tool.impl.base.ty import TyTool
SupportedToolType: TypeAlias = (
CodespellTool
| CoveragePyTool
| DeptryTool
| ImportLinterTool
| MkDocsTool
| PreCommitTool
| PyprojectFmtTool
| PyprojectTOMLTool
| PytestTool
| RequirementsTxtTool
| RuffTool
| TachTool
| TyTool
)
ALL_TOOLS: list[SupportedToolType] = [
# Alphabetical order
CodespellTool(),
CoveragePyTool(),
DeptryTool(),
ImportLinterTool(),
MkDocsTool(),
PreCommitTool(),
PyprojectFmtTool(),
PyprojectTOMLTool(),
PytestTool(),
RequirementsTxtTool(),
RuffTool(),
TachTool(),
TyTool(),
]