-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmodule-tree.txt
More file actions
196 lines (196 loc) · 15.8 KB
/
module-tree.txt
File metadata and controls
196 lines (196 loc) · 15.8 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
usethis # usethis: Automatically manage Python tooling and configuration: linters, formatters, and more.
├── __main__ # The CLI application for usethis.
├── _config # Global configuration state for usethis.
├── _config_file # Context managers for coordinated configuration file I/O.
├── _console # Console output helpers for styled and structured printing.
├── _deps # Dependency management operations for project dependency groups.
├── _fallback # Central module for hard-coded fallback version constants.
├── _init # Project initialization and build system setup.
├── _subprocess # Subprocess invocation utilities.
├── _test # Test utilities and fixtures for the usethis test suite.
├── errors # Custom errors for the usethis package.
├── _backend # Backend dispatch and tool-specific backend implementations.
│ ├── dispatch # Backend selection and dispatch logic.
│ ├── poetry # Poetry backend implementation.
│ │ ├── available # Check whether the Poetry CLI is available.
│ │ ├── call # Subprocess wrappers for invoking Poetry commands.
│ │ ├── deps # Dependency group operations via the Poetry backend.
│ │ ├── detect # Detection of Poetry usage in a project.
│ │ ├── errors # Error types for the Poetry backend.
│ │ └── init # Project initialization via Poetry.
│ └── uv # uv backend implementation.
│ ├── available # Check whether the uv CLI is available.
│ ├── call # Subprocess wrappers for invoking uv commands.
│ ├── deps # Dependency group operations via the uv backend.
│ ├── detect # Detection of uv usage in a project.
│ ├── errors # Error types for the uv backend.
│ ├── init # Project initialization via uv.
│ ├── link_mode # Symlink link-mode configuration for uv.
│ ├── lockfile # Lock file creation and management for uv.
│ ├── python # Python version queries via uv.
│ ├── toml # Manager for the uv.toml configuration file.
│ └── version # Retrieve the installed uv version.
├── _core # Core business logic for usethis commands.
│ ├── author # Author metadata management for pyproject.toml.
│ ├── badge # README badge generation and management.
│ ├── browse # Open project-related URLs in a browser.
│ ├── docstyle # Docstring style configuration.
│ ├── list # List tools and their usage status.
│ ├── readme # README file creation and management.
│ ├── rule # Linter rule selection and configuration.
│ ├── show # Display project information.
│ ├── status # Development status classifier management.
│ └── tool # Tool functions to add/remove tools to/from the project.
├── _detect # The detections module.
│ ├── pre_commit # Detection of pre-commit usage in a project.
│ └── readme # Detection of README file presence.
├── _file # Configuration file reading, writing, and merging.
│ ├── dir # Project directory name utilities.
│ ├── manager # Base file manager classes for configuration file I/O.
│ ├── merge # Deep merge utilities for nested mappings.
│ ├── print_ # Pretty-printing helpers for configuration file keys.
│ ├── types_ # Shared type aliases for file operations.
│ ├── ini # INI file reading and writing.
│ │ ├── errors # Error types for INI file operations.
│ │ └── io_ # INI file I/O manager.
│ ├── pyproject_toml # pyproject.toml file reading and writing.
│ │ ├── deps # Dependency extraction from pyproject.toml.
│ │ ├── errors # Error types for pyproject.toml operations.
│ │ ├── io_ # pyproject.toml file I/O manager.
│ │ ├── name # Project name and description extraction from pyproject.toml.
│ │ ├── project # Access the [project] section of pyproject.toml.
│ │ ├── remove # Removal of the pyproject.toml file.
│ │ ├── requires_python # Python version requirement queries from pyproject.toml.
│ │ ├── valid # Validation and repair of pyproject.toml structure.
│ │ └── write # Preparation helpers for writing pyproject.toml via subprocesses.
│ ├── setup_cfg # setup.cfg file reading and writing.
│ │ ├── errors # Error types for setup.cfg operations.
│ │ └── io_ # setup.cfg file I/O manager.
│ ├── toml # TOML file reading and writing.
│ │ ├── errors # Error types for TOML file operations.
│ │ └── io_ # TOML file I/O manager.
│ └── yaml # YAML file reading and writing.
│ ├── errors # Error types for YAML file operations.
│ ├── io_ # YAML file I/O manager.
│ ├── typing_ # Type aliases for YAML document values.
│ └── update # Smart update strategies for YAML sequences and mappings.
├── _integrations # Third-party tool integrations.
│ ├── ci # CI platform integrations.
│ │ └── github # GitHub CI integration.
│ │ ├── errors # Error types for GitHub CI operations.
│ │ └── tags # GitHub repository tag fetching.
│ ├── environ # Environment detection utilities.
│ │ └── python # Python version environment queries.
│ ├── mkdocs # MkDocs documentation integration.
│ │ └── core # MkDocs project setup and configuration.
│ ├── pre_commit # Pre-commit hook framework integration.
│ │ ├── cmd_ # Pre-commit command constants.
│ │ ├── core # Core pre-commit setup and teardown operations.
│ │ ├── errors # Error types for pre-commit operations.
│ │ ├── hooks # Pre-commit hook addition and removal.
│ │ ├── init # Initialization of the pre-commit configuration file.
│ │ ├── language # Pre-commit language keyword resolution.
│ │ ├── schema # Pydantic models for the pre-commit configuration schema.
│ │ ├── version # Pre-commit version inference.
│ │ └── yaml # YAML file manager for the pre-commit configuration.
│ ├── project # Project structure and metadata integration.
│ │ ├── build # Build system detection for the project.
│ │ ├── errors # Error types for project integration operations.
│ │ ├── imports # Import graph analysis for the project.
│ │ ├── layout # Project source directory layout detection.
│ │ ├── license # License detection for the project.
│ │ ├── name # Project name resolution with fallback heuristics.
│ │ └── packages # Importable package discovery.
│ ├── pydantic # Pydantic model utilities.
│ │ ├── dump # Pydantic model serialization helpers.
│ │ └── typing_ # Type aliases for Pydantic model representations.
│ ├── pytest # pytest test framework integration.
│ │ └── core # pytest directory and configuration setup.
│ ├── readme # README file integration.
│ │ └── path # README file path resolution.
│ └── sonarqube # SonarQube integration.
│ ├── config # SonarQube project configuration management.
│ └── errors # Error types for SonarQube operations.
├── _pipeweld # Pipeline welding algorithm for dependency-aware ordering.
│ ├── containers # Container data structures for pipeline compositions.
│ ├── func # Pipeline welding functions.
│ ├── ops # Operation and instruction types for pipeline welding.
│ └── result # Result types for pipeline welding.
├── _python # Python language utilities.
│ └── version # Utilities for Python version information.
├── _tool # Tool management framework.
│ ├── all_ # Registry of all available tools.
│ ├── base # Base classes for tool implementations.
│ ├── config # Configuration specification types for tools.
│ ├── heuristics # Heuristic fallbacks for tool configuration.
│ ├── pre_commit # Pre-commit hook specification types for tools.
│ ├── rule # Lint rule specification types for tools.
│ ├── spec # Abstract tool specification base classes.
│ └── impl # Concrete tool implementations.
│ ├── base # Tool base implementations with side effects.
│ │ ├── codespell # Codespell tool implementation.
│ │ ├── coverage_py # Coverage.py tool implementation.
│ │ ├── deptry # deptry tool implementation.
│ │ ├── import_linter # Import Linter tool implementation.
│ │ ├── mkdocs # MkDocs tool implementation.
│ │ ├── pre_commit # pre-commit tool implementation.
│ │ ├── pyproject_fmt # pyproject-fmt tool implementation.
│ │ ├── pyproject_toml # pyproject.toml as a managed tool.
│ │ ├── pytest # pytest tool implementation.
│ │ ├── requirements_txt # requirements.txt tool implementation.
│ │ ├── ruff # Ruff tool implementation.
│ │ ├── tach # Tach tool implementation.
│ │ └── ty # ty tool implementation.
│ └── spec # Tool specification implementations.
│ ├── codespell # Codespell tool specification.
│ ├── coverage_py # Coverage.py tool specification.
│ ├── deptry # deptry tool specification.
│ ├── import_linter # Import Linter tool specification.
│ ├── mkdocs # MkDocs tool specification.
│ ├── pre_commit # pre-commit tool specification.
│ ├── pyproject_fmt # pyproject-fmt tool specification.
│ ├── pyproject_toml # pyproject.toml tool specification.
│ ├── pytest # pytest tool specification.
│ ├── requirements_txt # requirements.txt tool specification.
│ ├── ruff # Ruff tool specification.
│ ├── tach # Tach tool specification.
│ └── ty # ty tool specification.
├── _toolset # Predefined groups of related tools.
│ ├── arch # Architecture enforcement toolset.
│ ├── doc # Documentation toolset.
│ ├── format_ # Code formatting toolset.
│ ├── hook # Git hook framework toolset.
│ ├── lint # Linting toolset.
│ ├── spellcheck # Spell checking toolset.
│ ├── test # Testing toolset.
│ └── typecheck # Type checking toolset.
├── _types # Shared type definitions and enumerations.
│ ├── backend # Backend enumeration for package manager selection.
│ ├── build_backend # Build backend enumeration for packaging tool selection.
│ ├── deps # Dependency model definitions.
│ ├── docstyle # Docstring style enumeration.
│ └── status # Development status enumeration for classifiers.
└── _ui # User interface layer for the CLI.
├── app # The Typer application for usethis.
├── options # Shared Typer option definitions.
└── interface # Typer command interface modules.
├── arch # CLI commands for architecture enforcement tools.
├── author # CLI commands for managing project authors.
├── badge # CLI commands for managing README badges.
├── browse # CLI commands for browsing project resources.
├── doc # CLI commands for documentation tools.
├── docstyle # CLI commands for docstring style configuration.
├── format_ # CLI commands for code formatting tools.
├── hook # CLI commands for git hook framework tools.
├── init # CLI commands for project initialization.
├── lint # CLI commands for linting tools.
├── list # CLI commands for showing out the full usage table.
├── readme # CLI commands for README management.
├── rule # CLI commands for linter rule management.
├── show # CLI commands for showing project information.
├── spellcheck # CLI commands for spell checking tools.
├── status # CLI commands for development status configuration.
├── test # CLI commands for testing tools.
├── tool # CLI commands for individual tool management.
├── typecheck # CLI commands for type checking tools.
└── version # CLI commands for displaying version information.