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.9.tar.gz (877.4 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.9-pp39-pypy39_pp73-macosx_10_12_x86_64.whl (5.1 MB view details)

Uploaded PyPymacOS 10.12+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

sqruff-0.25.9-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.9.tar.gz.

File metadata

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

File hashes

Hashes for sqruff-0.25.9.tar.gz
Algorithm Hash digest
SHA256 ca90124886a536201974afa68d35cb49f99ffbbb95219f7b3a315318076840ac
MD5 b2989905729a8333b4c171a4acb349b2
BLAKE2b-256 383856edaaf100423bd7e2f6b553e56a3e53945a5595c3756e9184865584dec2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.9-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5057bc1873a026c9b8df238afa04ea0e997577c0c5583c5574c51947d03dc552
MD5 74cadce71589ba08554607b84a38ae66
BLAKE2b-256 db20422f55f277be3ade8acd439f2479f9fdbea4cd081ac79829d6cb7ffa3b1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1113bee0301b743ab3657d87206958dbc9e1f49736cc0f7582ba7855ba9f3a25
MD5 fb6663687b8ad89cfb6d44505f1bb0f1
BLAKE2b-256 b6b1e87505fb5755895793776691797f88bb40271994500069a3c2b451e3d341

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.9-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.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b41334cd193d77499ef106dbd319056fbb032a04909e2ed4032e604eab461b92
MD5 5ab7bf5daf45d1cd603dba934e24bc21
BLAKE2b-256 d54d0726f702cdaeb20d80739aea069172b18891633e327c45a58a837676549d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.9-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.9-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 bd99ab08dbc51ad853e4748099ce16843332d990b082d402d09ddf900971b8ed
MD5 28cd7d465f7afa45a351a0a258eb1f65
BLAKE2b-256 84ce0ac486a5c05c2d5e0acde141e885d24ae38dd4c50720f5314cda29638bb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.9-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 8617afbfc506e5013a57da12dea8ec88a167a3bf2cd6543b89b91ed35df991ae
MD5 777bbe48055db458ad7c319e5824314d
BLAKE2b-256 728407ae5a2fdb2af6ea9359bdaee6076d136610d823997b4ebeb837ae4cb309

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