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

Uploaded PyPymacOS 10.12+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

File metadata

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

File hashes

Hashes for sqruff-0.25.7.tar.gz
Algorithm Hash digest
SHA256 74a720c0d7efa98b65378e034a52efe33c8903535a1f44471e974a5e21d747f0
MD5 4cd26547abddf553d53598de087f7b48
BLAKE2b-256 eb02a061ca0ad47e4107b2510e1f6690e079030dc486ce84456f55bcefbc5ece

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.7-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a8fc71d8093e93b86d6164d1cf2ec80e261cda2e88625f259d71297852ccc835
MD5 cbfac93b85a368655c15e96a81cfc9a0
BLAKE2b-256 c283d9a0ab427bf654ddaa8d794547a3b64e2c029419c3b1abea717f8a79e4e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4d562ae83c4dd1596e2db4d36e1aedadc05c6d5b2b73ef8f52a3d6fcc5cca599
MD5 f05ccb3d2c75d0953c0a4e9f41d1069c
BLAKE2b-256 cafd19b846fb14c571d86735fe5e9c7d3873f4c3796589231161313fb51692cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.7-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.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 085c783218713d141400131d26990ce15d6eff6dc75128fb982abf28742ad3da
MD5 895536577246b5099bd1033a4094e5db
BLAKE2b-256 8836c987911bd62684781b91c31d173335c304afb14300e823bb74d20e3cb360

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.7-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.7-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 bbb5d27fc813926edf6268cdd5c2ff53633391252be633809a9a9a38bcb2af71
MD5 95e98c1a1891c46da7cd9f33c95f2fb6
BLAKE2b-256 c1fcf1bcddbf050d0f0246840749481439aee351a3c5b354cafa01cb46d4890c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.7-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 627aeea6f4b43859e3fdc51b3d5f6f0b1056886c54edfd2274b6758481b965a4
MD5 c3141c19cb15dd7fe004853fafb87589
BLAKE2b-256 b364a3f0a09409b1f39e232499e2fa2b5d93730a27e76e4e73a3d5c7a6c543a1

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