Feat/sqlfluff setups - #11
Merged
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.