{"id":13461679,"url":"https://github.com/sqlfluff/sqlfluff","last_synced_at":"2026-02-08T20:16:02.299Z","repository":{"id":37012606,"uuid":"155790228","full_name":"sqlfluff/sqlfluff","owner":"sqlfluff","description":"A modular SQL linter and auto-formatter with support for multiple dialects and templated code.","archived":false,"fork":false,"pushed_at":"2025-08-31T16:13:57.000Z","size":33195,"stargazers_count":9156,"open_issues_count":602,"forks_count":872,"subscribers_count":38,"default_branch":"main","last_synced_at":"2025-08-31T17:39:03.470Z","etag":null,"topics":["hacktoberfest","pypi","sql","sql-linter"],"latest_commit_sha":null,"homepage":"https://www.sqlfluff.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sqlfluff.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["sqlfluff","alanmcruickshank"]}},"created_at":"2018-11-01T23:56:04.000Z","updated_at":"2025-08-31T16:14:00.000Z","dependencies_parsed_at":"2023-10-02T20:02:22.342Z","dependency_job_id":"ff2b8af1-23b6-435c-831e-a8f7c67e9f68","html_url":"https://github.com/sqlfluff/sqlfluff","commit_stats":{"total_commits":5018,"total_committers":412,"mean_commits":"12.179611650485437","dds":0.7066560382622559,"last_synced_commit":"e12c5d01008af2dd0bc03bfff8f2fb2a9598142d"},"previous_names":[],"tags_count":141,"template":false,"template_full_name":null,"purl":"pkg:github/sqlfluff/sqlfluff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlfluff%2Fsqlfluff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlfluff%2Fsqlfluff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlfluff%2Fsqlfluff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlfluff%2Fsqlfluff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlfluff","download_url":"https://codeload.github.com/sqlfluff/sqlfluff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlfluff%2Fsqlfluff/sbom","scorecard":{"id":843016,"data":{"date":"2025-08-11","repo":{"name":"github.com/sqlfluff/sqlfluff","commit":"3e879b1f64fc69d649faf8bd8d302efb73ebceb8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci-tests.yml:115","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci-tests.yml:154","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci-tests.yml:81","Info: jobLevel 'contents' permission set to 'read': .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:17","Warn: no topLevel permission defined: .github/workflows/add-issue-labels.yaml:1","Warn: no topLevel permission defined: .github/workflows/add-to-release-notes.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-pr-comments.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-test-dbt.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-test-python.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-tests.yml:1","Warn: no topLevel permission defined: .github/workflows/create-release-pull-request.yaml:1","Warn: no topLevel permission defined: .github/workflows/pre-commit.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-dbt-templater-release-to-pypi.yaml:1","Warn: no topLevel permission defined: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:1","Warn: no topLevel permission defined: .github/workflows/publish-sqlfluff-release-to-pypi.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish-dbt-templater-release-to-pypi.yaml:10"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/add-issue-labels.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/add-issue-labels.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/add-to-release-notes.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/add-to-release-notes.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-pr-comments.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-pr-comments.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-pr-comments.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-pr-comments.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-test-dbt.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-test-dbt.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-test-dbt.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-test-dbt.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-test-dbt.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-test-dbt.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-test-python.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-test-python.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-test-python.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-test-python.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-test-python.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-test-python.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:286: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:289: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:167: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:169: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:193: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:195: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:314: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:315: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:322: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:339: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:356: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:218: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:220: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:239: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:262: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-tests.yml:264: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/ci-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release-pull-request.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/create-release-pull-request.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release-pull-request.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/create-release-pull-request.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release-pull-request.yaml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/create-release-pull-request.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release-pull-request.yaml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/create-release-pull-request.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/pre-commit.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/pre-commit.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/pre-commit.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/pre-commit.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/pre-commit.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/pre-commit.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-dbt-templater-release-to-pypi.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-dbt-templater-release-to-pypi.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-dbt-templater-release-to-pypi.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-dbt-templater-release-to-pypi.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-dbt-templater-release-to-pypi.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-dbt-templater-release-to-pypi.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-docker-image-to-dockerhub.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-docker-image-to-dockerhub.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-docker-image-to-dockerhub.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-docker-image-to-dockerhub.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-docker-image-to-dockerhub.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-docker-image-to-dockerhub.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-docker-image-to-dockerhub.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml:89: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-docker-image-to-dockerhub.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-release-to-pypi.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-release-to-pypi.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-release-to-pypi.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-release-to-pypi.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-sqlfluff-release-to-pypi.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlfluff/sqlfluff/publish-sqlfluff-release-to-pypi.yaml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.12-slim-bullseye to python:3.12-slim-bullseye@sha256:411fa4dcfdce7e7a3057c45662beba9dcd4fa36b2e50a2bfcd6c9333e59bf0db","Warn: containerImage not pinned by hash: docker/development/Dockerfile:1: pin your Docker image by updating python:3.12 to python:3.12@sha256:23e642ca5600c3c6925490bf500914abe411d944b237ac0c6c87af2cd091b8fd","Warn: pipCommand not pinned by hash: Dockerfile:10","Warn: pipCommand not pinned by hash: Dockerfile:19","Warn: pipCommand not pinned by hash: Dockerfile:27","Warn: pipCommand not pinned by hash: docker/development/Dockerfile:13","Warn: pipCommand not pinned by hash: docker/development/Dockerfile:14","Warn: pipCommand not pinned by hash: docker/development/Dockerfile:17","Warn: pipCommand not pinned by hash: docker/development/Dockerfile:23","Warn: pipCommand not pinned by hash: .github/workflows/ci-test-dbt.yml:74","Warn: pipCommand not pinned by hash: .github/workflows/ci-test-python.yml:54","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:292","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:64","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:200","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:201","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:230","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:271","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:320","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:174","Warn: pipCommand not pinned by hash: .github/workflows/ci-tests.yml:175","Warn: pipCommand not pinned by hash: .github/workflows/create-release-pull-request.yaml:32","Warn: pipCommand not pinned by hash: .github/workflows/pre-commit.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/publish-dbt-templater-release-to-pypi.yaml:20","Warn: pipCommand not pinned by hash: .github/workflows/publish-sqlfluff-release-to-pypi.yaml:20","Info:   0 out of  39 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  13 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of  22 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2017-74","Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T20:52:46.558Z","repository_id":37012606,"created_at":"2025-08-23T20:52:46.558Z","updated_at":"2025-08-23T20:52:46.558Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274365922,"owners_count":25272293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","pypi","sql","sql-linter"],"created_at":"2024-07-31T11:00:52.253Z","updated_at":"2026-02-08T20:16:02.251Z","avatar_url":"https://github.com/sqlfluff.png","language":"Python","funding_links":["https://github.com/sponsors/sqlfluff","https://github.com/sponsors/alanmcruickshank"],"categories":["Python","Rule-based","Utilities","Linters","Database Tools","\u003ca id=\"tag-dev\" href=\"#tag-dev\"\u003eDev\u003c/a\u003e","HarmonyOS","SQL Server Web Resources","SQL Linters \u0026 Formatters","Linux生态圈Dev\u0026Ops工具与服务","hacktoberfest","Not exhaustive and personnal list of \"modern\" Data Tools and Projects","🗃️ SQL \u0026 Databases","🛠️ Developer Tools","SQL"],"sub_categories":["SQL","Learning Resources","\u003ca id=\"tag-dev.code_review\" href=\"#tag-dev.code_review\"\u003eCode Review\u003c/a\u003e","Windows Manager","Rust","Tools","Analyzers"],"readme":"![SQLFluff](https://raw.githubusercontent.com/sqlfluff/sqlfluff/main/images/sqlfluff-wide.png)\n\n# The SQL Linter for Humans\n\n[![PyPi Version](https://img.shields.io/pypi/v/sqlfluff.svg?style=flat-square\u0026logo=PyPi)](https://pypi.org/project/sqlfluff/)\n[![PyPi License](https://img.shields.io/pypi/l/sqlfluff.svg?style=flat-square)](https://pypi.org/project/sqlfluff/)\n[![PyPi Python Versions](https://img.shields.io/pypi/pyversions/sqlfluff.svg?style=flat-square)](https://pypi.org/project/sqlfluff/)\n[![PyPi Status](https://img.shields.io/pypi/status/sqlfluff.svg?style=flat-square)](https://pypi.org/project/sqlfluff/)\n[![PyPi Downloads](https://img.shields.io/pypi/dm/sqlfluff?style=flat-square)](https://pypi.org/project/sqlfluff/)\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/sqlfluff/sqlfluff/.github/workflows/ci-tests.yml?logo=github\u0026style=flat-square)](https://github.com/sqlfluff/sqlfluff/actions/workflows/ci-tests.yml?query=branch%3Amain)\n[![ReadTheDocs](https://img.shields.io/readthedocs/sqlfluff?style=flat-square\u0026logo=Read%20the%20Docs)](https://sqlfluff.readthedocs.io)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)\n[![Docker Pulls](https://img.shields.io/docker/pulls/sqlfluff/sqlfluff?logo=docker\u0026style=flat-square)](https://hub.docker.com/r/sqlfluff/sqlfluff)\n[![Gurubase](https://img.shields.io/badge/Gurubase-Ask%20SQLFluff%20Guru-006BFF?style=flat-square)](https://gurubase.io/g/sqlfluff)\n\n**SQLFluff** is a dialect-flexible and configurable SQL linter. Designed\nwith [ELT](https://www.techtarget.com/searchdatamanagement/definition/Extract-Load-Transform-ELT) applications in mind, **SQLFluff** also works with Jinja templating\nand dbt. **SQLFluff** will auto-fix most linting errors, allowing you to focus\nyour time on what matters.\n\n## Table of Contents\n\n1. [Dialects Supported](#dialects-supported)\n2. [Templates Supported](#templates-supported)\n3. [VS Code Extension](#vs-code-extension)\n4. [Getting Started](#getting-started)\n5. [Documentation](#documentation)\n6. [Releases](#releases)\n7. [SQLFluff on Slack](#sqlfluff-on-slack)\n8. [SQLFluff on Twitter](#sqlfluff-on-twitter)\n9. [Contributing](#contributing)\n10. [Sponsors](#sponsors)\n\n## Dialects Supported\n\nAlthough SQL is reasonably consistent in its implementations, there are several\ndifferent dialects available with variations of syntax and grammar. **SQLFluff**\ncurrently supports the following SQL dialects (though perhaps not in full):\n\n- ANSI SQL - this is the base version and on occasion may not strictly follow\n  the ANSI/ISO SQL definition\n- [Athena](https://aws.amazon.com/athena/)\n- [BigQuery](https://cloud.google.com/bigquery/)\n- [ClickHouse](https://clickhouse.com/)\n- [Databricks](https://databricks.com/) (note: this extends the `sparksql` dialect with\n  [Unity Catalog](https://docs.databricks.com/data-governance/unity-catalog/index.html) syntax).\n- [Db2](https://www.ibm.com/analytics/db2)\n- [Doris](https://doris.apache.org/)\n- [DuckDB](https://duckdb.org/)\n- [Exasol](https://www.exasol.com/)\n- [Greenplum](https://greenplum.org/)\n- [Hive](https://hive.apache.org/)\n- [Impala](https://impala.apache.org/)\n- [MariaDB](https://www.mariadb.com/)\n- [Materialize](https://materialize.com/)\n- [MySQL](https://www.mysql.com/)\n- [Oracle](https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/index.html)\n- [PostgreSQL](https://www.postgresql.org/) (aka Postgres)\n- [Redshift](https://docs.aws.amazon.com/redshift/index.html)\n- [Snowflake](https://www.snowflake.com/)\n- [SOQL](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm)\n- [SparkSQL](https://spark.apache.org/docs/latest/)\n- [SQLite](https://www.sqlite.org/)\n- [StarRocks](https://www.starrocks.io)\n- [Teradata](https://www.teradata.com/)\n- [Transact-SQL](https://docs.microsoft.com/en-us/sql/t-sql/language-reference) (aka T-SQL)\n- [Trino](https://trino.io/)\n- [Vertica](https://www.vertica.com/)\n\nWe aim to make it easy to expand on the support of these dialects and also\nadd other, currently unsupported, dialects. Please [raise issues](https://github.com/sqlfluff/sqlfluff/issues)\n(or upvote any existing issues) to let us know of demand for missing support.\n\nPull requests from those that know the missing syntax or dialects are especially\nwelcomed and are the question way for you to get support added. We are happy\nto work with any potential contributors on this to help them add this support.\nPlease raise an issue first for any large feature change to ensure it is a good\nfit for this project before spending time on this work.\n\n## Templates Supported\n\nSQL itself does not lend itself well to [modularity](https://docs.getdbt.com/docs/viewpoint#section-modularity),\nso to introduce some flexibility and reusability it is often [templated](https://en.wikipedia.org/wiki/Template_processor)\nas discussed more in [our modularity documentation](https://docs.sqlfluff.com/en/stable/perma/modularity.html).\n\n**SQLFluff** supports the following templates:\n\n- [Jinja](https://jinja.palletsprojects.com/) (aka Jinja2)\n- SQL placeholders (e.g. SQLAlchemy parameters)\n- [Python format strings](https://docs.python.org/3/library/string.html#format-string-syntax)\n- [dbt](https://www.getdbt.com/) (requires plugin)\n\nAgain, please raise issues if you wish to support more templating languages/syntaxes.\n\n## VS Code Extension\n\nWe also have a VS Code extension:\n\n- [Github Repository](https://github.com/sqlfluff/vscode-sqlfluff)\n- [Extension in VS Code marketplace](https://marketplace.visualstudio.com/items?itemName=dorzey.vscode-sqlfluff)\n\n# Getting Started\n\nTo get started, install the package and run `sqlfluff lint` or `sqlfluff fix`.\n\n```shell\n$ pip install sqlfluff\n$ echo \"  SELECT a  +  b FROM tbl;  \" \u003e test.sql\n$ sqlfluff lint test.sql --dialect ansi\n== [test.sql] FAIL\nL:   1 | P:   1 | LT01 | Expected only single space before 'SELECT' keyword.\n                       | Found '  '. [layout.spacing]\nL:   1 | P:   1 | LT02 | First line should not be indented.\n                       | [layout.indent]\nL:   1 | P:   1 | LT13 | Files must not begin with newlines or whitespace.\n                       | [layout.start_of_file]\nL:   1 | P:  11 | LT01 | Expected only single space before binary operator '+'.\n                       | Found '  '. [layout.spacing]\nL:   1 | P:  14 | LT01 | Expected only single space before naked identifier.\n                       | Found '  '. [layout.spacing]\nL:   1 | P:  27 | LT01 | Unnecessary trailing whitespace at end of file.\n                       | [layout.spacing]\nL:   1 | P:  27 | LT12 | Files must end with a single trailing newline.\n                       | [layout.end_of_file]\nAll Finished 📜 🎉!\n```\n\nAlternatively, you can use the [**Official SQLFluff Docker Image**](https://hub.docker.com/r/sqlfluff/sqlfluff)\nor have a play using [**SQLFluff online**](https://online.sqlfluff.com/).\n\nFor full [CLI usage](https://docs.sqlfluff.com/en/stable/perma/cli.html) and\n[rules reference](https://docs.sqlfluff.com/en/stable/perma/rules.html), see\n[the SQLFluff docs](https://docs.sqlfluff.com/en/stable/).\n\n# Documentation\n\nFor full documentation visit [docs.sqlfluff.com](https://docs.sqlfluff.com/en/stable/).\nThis documentation is generated from this repository so please raise\n[issues](https://github.com/sqlfluff/sqlfluff/issues) or pull requests\nfor any additions, corrections, or clarifications.\n\n# Releases\n\n**SQLFluff** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),\nso breaking changes should be restricted to major versions releases. Some\nelements (such as the python API) are in a less stable state and may see more\nsignificant changes more often. For details on breaking changes and how\nto migrate between versions, see our\n[release notes](https://docs.sqlfluff.com/en/latest/perma/releasenotes.html). See the\n[changelog](CHANGELOG.md) for more details. If you would like to join in, please\nconsider [contributing](CONTRIBUTING.md).\n\nNew releases are made monthly. For more information, visit\n[Releases](https://github.com/sqlfluff/sqlfluff/releases).\n\n# SQLFluff on Slack\n\nWe have a fast-growing community\n[on Slack](https://join.slack.com/t/sqlfluff/shared_invite/zt-2qtu36kdt-OS4iONPbQ3aCz2DIbYJdWg),\ncome and join us!\n\n# SQLFluff on Twitter\n\nFollow us [on Twitter @SQLFluff](https://twitter.com/SQLFluff) for announcements\nand other related posts.\n\n# Contributing\n\nWe are grateful to all our [contributors](https://github.com/sqlfluff/sqlfluff/graphs/contributors).\nThere is a lot to do in this project, and we are just getting started.\n\nIf you want to understand more about the architecture of **SQLFluff**, you can\nfind [more here](https://docs.sqlfluff.com/en/latest/perma/architecture.html).\n\nIf you would like to contribute, check out the\n[open issues on GitHub](https://github.com/sqlfluff/sqlfluff/issues). You can also see\nthe guide to [contributing](CONTRIBUTING.md).\n\n# Sponsors\n\n\u003cimg src=\"images/datacoves.png\" alt=\"Datacoves\" width=\"150\"/\u003e\u003cbr\u003e\nThe turnkey analytics stack, find out more at [Datacoves.com](https://datacoves.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlfluff%2Fsqlfluff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlfluff%2Fsqlfluff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlfluff%2Fsqlfluff/lists"}