Skip to content

[FEATURE] Add SQLFluff CI snippet#28

Merged
prog-time merged 3 commits into
mainfrom
issues-13
Apr 22, 2026
Merged

[FEATURE] Add SQLFluff CI snippet#28
prog-time merged 3 commits into
mainfrom
issues-13

Conversation

@prog-time
Copy link
Copy Markdown
Owner

Summary

Adds a SQLFluff CI snippet to the linters category — catches dialect-specific syntax errors and style issues (keyword casing, indentation, ambiguous column references) across Postgres, MySQL, Snowflake, BigQuery and others. Config detection covers .sqlfluff, [tool.sqlfluff] in pyproject.toml, or setup.cfg. Uses actions/setup-python@v5 + pinned sqlfluff==3.4.1.

Changes

  • issues-13|add sqlfluff CI snippetscripts/shell/linters/sqlfluff.sh, scripts/CI/linters/sqlfluff.yml, CI/linters/sqlfluff.yml
  • issues-13|add BATS tests for sqlfluff — 4 tests (missing config, no SQL files, clean, violation)
  • issues-13|document sqlfluff in README — Snippets table, Available snippets / Linters section, project structure tree

Test plan

  • bats tests/linters/sqlfluff.bats — 4/4 pass
  • yamllint clean on both new YAML files
  • CI green on this PR

Closes #13

@prog-time prog-time merged commit bca29ef into main Apr 22, 2026
5 checks passed
@prog-time prog-time deleted the issues-13 branch April 22, 2026 18:37
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.

[FEATURE] Add SQLFluff CI snippet

1 participant