Skip to content

Feat/sqlfluff setups - #11

Merged
pgoell merged 6 commits into
mainfrom
feat/sqlfluff-setups
Dec 11, 2025
Merged

Feat/sqlfluff setups#11
pgoell merged 6 commits into
mainfrom
feat/sqlfluff-setups

Conversation

@pgoell

@pgoell pgoell commented Dec 10, 2025

Copy link
Copy Markdown
Owner

No description provided.

pgoell and others added 6 commits December 10, 2025 09:07
- Updated .gitignore to exclude manual_test and *.duckdb files.
- Added sqlfluff and sqlfluff-templater-dbt as development dependencies in pyproject.toml and uv.lock.
- Introduced comprehensive SQLFluff setup guide for dbt with Databricks in the documentation.
- Created various SQLFluff configuration files and examples for testing.
- Added staging, intermediate, and mart models along with their respective YAML configurations and seed data for testing.
…nd fixing

- Introduced SQLFluff hooks for linting and fixing SQL files in dbt projects.
- Added a new script to discover and run SQLFluff commands per project.
- Updated pre-commit configuration to include SQLFluff hooks.
- Enhanced pyproject.toml with new script entries for SQLFluff commands.
- Introduced new PowerShell hooks in the pre-commit configuration for SQLFluff linting and fixing across projects.
- Added a PowerShell script to discover and execute SQLFluff commands in directories containing .sqlfluff files.
- Enhanced the script to support dbt projects with specific requirements.
- Introduced a new profiles.yml file for SQLFluff with a default target set to 'dev'.
- Configured the output to use DuckDB with an in-memory path for testing purposes.
…it workflow

- Included a step to install dbt packages for test fixtures in the pre-commit GitHub Actions workflow.
- This enhancement ensures that necessary dependencies are available for testing SQLFluff configurations.
@pgoell
pgoell merged commit 64d15ca into main Dec 11, 2025
2 checks passed
@pgoell
pgoell deleted the feat/sqlfluff-setups branch December 11, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant