LintquartoConfig
config.LintquartoConfig(
linters=list(),
formatters=list(),
paths=list(),
exclude=list(),
lint_non_exec=False,
verbose=False,
keep_temp=False,
custom_commands=list(),
config_path=None,
)Configuration parsed from [tool.lintquarto] in pyproject.toml.
Attributes
| Name | Type | Description |
|---|---|---|
| linters | list[str] | Linter names to run. Equivalent to -l / --linters. |
| formatters | list[str] | Formatters to run. Equivalent to -f / --formatters. |
| paths | list[str] | Files and/or directories to run tools on. Equivalent to -p / --paths. |
| exclude | list[str] | Files and/or directories to exclude from running tools on. Equivalent to -e / --exclude. |
| lint_non_exec | bool | If True, also lint non-executable Python code chunks. Equivalent to -n / --lint-non-exec. |
| verbose | bool | If True, print detailed progress information. Equivalent to -v / --verbose. |
| keep_temp | bool | If True, retain temporary .py files after linting. Equivalent to -k / --keep-temp. |
| custom_commands | list[str] | Custom commands to run against the generated .py file. Equivalent to -c / --custom-commands. |
| config_path | Path | None | Path to the pyproject.toml file that was read, or None if no file was found. |