Configuration

Learn how to configure Tombi using the tombi.toml configuration file.

Configuration File

Tombi uses a TOML configuration file named tombi.toml. Also, we supports [tool.tombi] in pyproject.toml.

Search Priority

  1. tombi.toml in the current directory
  2. [tool.tombi] in pyproject.toml in the current directory
  3. ...search parent directory recursively

Full Structure

toml-version = "1.0.0"
include = ["**/*.toml"]
exclude = []

[format]

[lint]

[server]
formatting.enabled = true
diagnostics.enabled = true
hover.enabled = true
completion.enabled = true

[schema]
enabled = true
strict = true

[schema.catalog]
path = "https://www.schemastore.org/api/json/catalog.json"

# Root Schema
[[schemas]]
toml-version = "1.0.0"
path = "https://example.com/schema.json"
include = ["example.toml"]

# Sub Schema
[[schemas]]
path = "schemas/partial-taskipy.schema.json"
include = ["pyproject.toml"]
root-keys = "tool.taskipy"