lint_file
Lint a SQL file on disk, automatically honoring .sqlfluff or pyproject.toml config discovered from the file's directory.
Instructions
Lint a SQL file on disk, honoring any .sqlfluff / pyproject.toml config found by walking up from the file's directory.
Args: path: Path to the SQL file to lint. config_path: Optional path to an extra config file to layer on top of whatever is discovered by walking the directory tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||