Skip to main content

A SQL linter written in rust.

Project description

sqruff

SQRUFF is an innovative SQL linter and formatter for modern development environments, written in Rust. Key features include:

  • Linting: Advanced, customizable SQL linting capabilities to ensure query quality.
  • Formatting: Automated, configurable formatting for SQL code consistency.
  • Portability: Designed to be easily integrated into various development workflows.

Getting Started

Visit sqruff's official site to learn more about installation and usage.

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines on how to contribute.

Releasing

  1. Bump the versions in sqruff-lib/Cargo.toml and sqruff/Cargo.toml.
  2. Commit the changes.
  3. Push the changes.
  4. Tag the commit with the new version
  5. Release sqruff-lib crate
cargo publish -p sqruff-lib
  1. Release sqruff crate
cargo publish -p sqruff

Installation

rustup override set nightly
cargo install sqruff
sqruff --help

Community

Join the sqruff community on GitHub Discussions to ask questions, suggest features, or share your projects.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqruff-0.25.8.tar.gz (877.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sqruff-0.25.8-pp39-pypy39_pp73-macosx_10_12_x86_64.whl (5.1 MB view details)

Uploaded PyPymacOS 10.12+ x86-64

sqruff-0.25.8-cp313-cp313-macosx_11_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

sqruff-0.25.8-cp312-cp312-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.12Windows x86-64

sqruff-0.25.8-cp312-cp312-win32.whl (4.3 MB view details)

Uploaded CPython 3.12Windows x86

sqruff-0.25.8-cp312-cp312-manylinux_2_39_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

File details

Details for the file sqruff-0.25.8.tar.gz.

File metadata

  • Download URL: sqruff-0.25.8.tar.gz
  • Upload date:
  • Size: 877.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for sqruff-0.25.8.tar.gz
Algorithm Hash digest
SHA256 3a3f87363e0273c2f93e69af4165d2dc36e17473cdcf1771c9b7f08c8e9aa87d
MD5 03d179a9df69ff839c6a96790bb0459c
BLAKE2b-256 173be3110d8a60c879ad0a48156ad760d1d22d71937285808a5f4cfacaccad4f

See more details on using hashes here.

File details

Details for the file sqruff-0.25.8-pp39-pypy39_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.8-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 46d34ad301a843979b9096991ff030fcbaa6c8c3d6a32bc1c1bb8344ca41d837
MD5 a42da5e2e30ab9a8a8c7d5718e67704c
BLAKE2b-256 add25455145ea28f6a8cc2131f345a14084c835dc933f190d9f08e489e88abce

See more details on using hashes here.

File details

Details for the file sqruff-0.25.8-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f76444d0e26aed0dd26c776855a59d39f6fc50f1c77f8489678f4572ec7cb2cb
MD5 1e239bc7db0046e90b195d2e89fe8c66
BLAKE2b-256 0976bed7b997f2f5a840a59c8831bb5cb19011faa3d4612933ec2736482ebece

See more details on using hashes here.

File details

Details for the file sqruff-0.25.8-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: sqruff-0.25.8-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for sqruff-0.25.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4d6a5a122d24532c4c3f173485f51fbf4b0dd1c2e0cfbff361c238e9c61c0f27
MD5 4d28d359a8f845f4975e544239f6a9a3
BLAKE2b-256 b7798f8a15a11efd4b254c5c029ead02857ba3f34fe21e0426f509cfa36d49c8

See more details on using hashes here.

File details

Details for the file sqruff-0.25.8-cp312-cp312-win32.whl.

File metadata

  • Download URL: sqruff-0.25.8-cp312-cp312-win32.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for sqruff-0.25.8-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 df443afda6d65a95bc515090493d7fe703f3e85cf4f56177484905d543e954a1
MD5 6853018f2f0a1f7fb7f3285152cbaa09
BLAKE2b-256 83381f5f38c8854451a36a01f2b268ec195587fd0d628121a5f22ee5608d2e5f

See more details on using hashes here.

File details

Details for the file sqruff-0.25.8-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.8-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 9696f6946b2bcc8a994a20b28afcd2e5e392e438deb2a10aa3218ada34998e63
MD5 968297048cbdec7271deb76d50b52801
BLAKE2b-256 25b7234ee042106fc03feb1df8c9eef7f6334129bdc953efe0db20e2e7d02bc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page