Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 833 Bytes

File metadata and controls

16 lines (10 loc) · 833 Bytes

Configuration

Local Configuration

Defined within the pyproject.toml file, the local configuration is used to customize the behavior of cppython for a specific project. The configuration is defined under the [tool.cppython] table.

Global Configuration

Configuration exists in four places, each with a different default scope. The order of precedence is as follows:

  1. Configuration file override provided by the CLI or local pyproject.toml file.

  2. The local configuration file, cppython.toml, in the current working directory.

  3. The user level configuration file, cppython.toml, in the user’s home directory.

  4. The global configuration file, cppython.toml, in the system configuration directory.

Each configuration file that is found will be merged into the next configuration file found.