Skip to content

Latest commit

 

History

History
62 lines (50 loc) · 1.98 KB

index.rst

File metadata and controls

62 lines (50 loc) · 1.98 KB

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 Sources

Usage

  1. Define a pydantic model
  2. Initialize pytoolconfig
  3. (Optional) Add custom configuration sources
  4. Parse configuration
  5. (Optional) Generate schema.json and Configuration.md

Configuration Load Order

  1. Command Line - overwrites selected configuration properties individually
  2. pyproject.toml (mandatory, automatic) if tool.rope (or your tool) is present
  3. additional sources configured in order they were added.
  4. global configuration from pytool.toml global file
  5. configured global configurations

Contents

.. toctree::
   :maxdepth: 2

   command_line
   universal_config
   documentation
   global_configuration
   pydantic
   api


Indices and tables