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
- Bump the versions in
sqruff-lib/Cargo.toml
andsqruff/Cargo.toml
. - Commit the changes.
- Push the changes.
- Tag the commit with the new version
- Release
sqruff-lib
crate
cargo publish -p sqruff-lib
- 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
Built Distributions
File details
Details for the file sqruff-0.20.2.tar.gz
.
File metadata
- Download URL: sqruff-0.20.2.tar.gz
- Upload date:
- Size: 769.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0294df9a583ae2dec8e217e4532f428abae493efccb283d08b86b58402a2e620 |
|
MD5 | f1152710cb4001508bf8c3d2b942e2e3 |
|
BLAKE2b-256 | 09d0e797fa8157caf5b7a454e00581c778ef671644fca663de9775f379736890 |
File details
Details for the file sqruff-0.20.2-py3-none-win_amd64.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-win_amd64.whl
- Upload date:
- Size: 5.4 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e33eaf3d964247aa33780a064b1f573e95edc8c61f8ffdba2be35c54b6f15a28 |
|
MD5 | 6ef5ae3a06328b44ac9e13afe4b9ece8 |
|
BLAKE2b-256 | 2cf6dc0a0f236f6ded5a71fac1228461ceb07df5abad1d66bd1f428fdf6fed8c |
File details
Details for the file sqruff-0.20.2-py3-none-win32.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-win32.whl
- Upload date:
- Size: 4.3 MB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbd5735138ce72c9755902b18de68bc919c5a79af2e2ef4de0ca6727a9e3fa75 |
|
MD5 | b26d83706dc7b506e4a311e3331f246a |
|
BLAKE2b-256 | 93c1eeaaee2fcdee260bbded8aae54f8df416769b8a67341511306eacf029e66 |
File details
Details for the file sqruff-0.20.2-py3-none-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713a5799320753f4779979aa2ea03a21538e3f9a3ec70e1b4d397007288e7ffe |
|
MD5 | 3e98dda27abf2bed3938dc903ff06798 |
|
BLAKE2b-256 | 10ad546fe7ae8330c64db23fb77f29c005454346ce3530f3330d9bc3e99b63ea |
File details
Details for the file sqruff-0.20.2-py3-none-musllinux_1_2_i686.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-musllinux_1_2_i686.whl
- Upload date:
- Size: 4.8 MB
- Tags: Python 3, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c4ec15cc9d5d38d7ac689764538fd10d4c33a4edfef0454b430b9ed7873b469 |
|
MD5 | baf357803a707b22efdc96b05f75cf90 |
|
BLAKE2b-256 | 07f7ddf4bcd69d1f418818d8ffd72ef4882f4cbec08cc8806f16388d62d46009 |
File details
Details for the file sqruff-0.20.2-py3-none-musllinux_1_2_armv7l.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef339752be1df66f390b393ede89bea772598ebdff957e8027fd49705e4bc9ba |
|
MD5 | 99c043bedca098111d66d1f4e05a7f9f |
|
BLAKE2b-256 | 3568aef8dc7b20028b7d4acaf16875f0be342e92173cb9aef0858b326a15ef49 |
File details
Details for the file sqruff-0.20.2-py3-none-musllinux_1_2_aarch64.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 5.0 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c65c987d8da39962ac369d1dfd16a12db51ff7c0282c750e99706b11516b88c0 |
|
MD5 | 5faad43c857ed0fee61fd0b44bdce907 |
|
BLAKE2b-256 | 16b82c929a22839c38a78e635c3c97021482e04a33d12a23116e4627cceb3b51 |
File details
Details for the file sqruff-0.20.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9774d2e4a662434ec1ffcf5a10d862c8a3c416111afbda1901463c458d2f1d5b |
|
MD5 | dd91490c27b8d1659ceaddc56e35fe7e |
|
BLAKE2b-256 | 9176cc9e839eb985df7a2a4bdeddd78902abc03e37a45b2264b4e7e38576c22e |
File details
Details for the file sqruff-0.20.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 4.8 MB
- Tags: Python 3, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5fadd5be5b96c20bac07fc3aa823ce7104a3f7485decdbcd35fac7638c3e96 |
|
MD5 | 64754a48e0d80fd264434f9ec7c7347d |
|
BLAKE2b-256 | 8fbe838bb032513da9561b9e63e8a6188cf499c279a742d7c7b7696ba04ea57b |
File details
Details for the file sqruff-0.20.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abed8da26b70ba872db35fe5e232188d467df4719ae7a1cc836e77140b686076 |
|
MD5 | 5fe87b442a8f0f805a6c71e19a385693 |
|
BLAKE2b-256 | 6d75d8e796fa8ac8f338b62d4f4ed90fa7e7f7452c39bc44fd5b9f16ccd841cf |
File details
Details for the file sqruff-0.20.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 5.1 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42872f9c8cbeac3a7f5956b066c414af9525c8ebcaf15448e8c2f2e226503d8a |
|
MD5 | 92961a70998a72eaeb819d03a363f3d2 |
|
BLAKE2b-256 | ad4450d824ced119db0814f31d227262aaaa9a64d20547bfddecf9ba9de9164a |
File details
Details for the file sqruff-0.20.2-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.6 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff44103895543ec46832b27476b652dce96cb6b5654d2b45d3fdefdbca1d5b4d |
|
MD5 | f70a6ef64451bb5c83afdf023de1b1e7 |
|
BLAKE2b-256 | 39d3ea9dfd86c6ce1dbba658608d4339966784c118ca7e676077a5658f417d98 |
File details
Details for the file sqruff-0.20.2-py3-none-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: sqruff-0.20.2-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.2 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4194cc0a148fff966a51daaeaea6a0956a3cd45a520d980b3e9856bfb4678964 |
|
MD5 | fc967a8e058f3eec0f89f6ae1082b4d5 |
|
BLAKE2b-256 | 74a10ee7c6b3b5dd99bf2dab95024be70b9cb39a6edea7a01e65793d57b8ae8c |