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
tombi.toml
in the current directory[tool.tombi]
inpyproject.toml
in the current directory- ...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"