Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 921 Bytes

configuration.rst

File metadata and controls

39 lines (25 loc) · 921 Bytes

Configuration

This page describes how to configure pydistcheck.

pydistscheck resolves different sources of configuration in the following order.

  1. default values
  2. pyproject-toml
  3. cli-arguments

CLI arguments

pydistcheck.cli:check

pyproject.toml

If a file pyproject.toml exists in the working directory pydistcheck is run from, pydistcheck will look there for configuration.

Alternatively, a path to a TOML file can be provided via CLI argument --config.

Put configuration in a [tool.pydistcheck] section.

The example below contains all of the configuration options for pydistcheck, set to their default values.

./_static/defaults.toml