characterization#
Detect tooling and content present in a repository.
- class RepositoryCharacterization(has_python_code: bool, package_manager: PackageManagerChoice, type_checkers: frozenset[TypeChecker])[source]#
Bases:
objectThe repository traits that influence policy configuration.
- package_manager: PackageManagerChoice[source]#
- type_checkers: frozenset[TypeChecker][source]#
- uses_quarto() bool[source]#
Check whether Quarto is the documentation system of this repository.
A repository that is documented with Sphinx can contain a Quarto sub-site, so the presence of a Sphinx configuration file takes precedence.
- characterize_repository() RepositoryCharacterization[source]#