Welcome to pytoolconfig’s documentation!
Python Tool Configuration
The goal of this project is to manage configuration for python tools, such as rope and add support for a pyproject.toml configuration file.
Configuration file autodetection. (Searches for the .git and .hg directories (and others as configured)).
Configuration Sources
Pyproject.toml - default, mandatory
Usage
Define a pydantic model
Initialize pytoolconfig
(Optional) Add custom configuration sources
Parse configuration
(Optional) Generate schema.json and Configuration.md
Configuration Load Order
Command Line - overwrites selected configuration properties individually
pyproject.toml (mandatory, automatic) if tool.rope (or your tool) is present
additional sources configured in order they were added.
global configuration from pytool.toml global file
configured global configurations