Modular SQL Linting for Humans
Project description
SqlFluff
The SQL Linter for humans
Bored of not having a good SQL linter that works with whichever dialiect you're working with? Fluff is an extensible and modular linter designed to help you write good SQL and catch errors and bad SQL before it hits your database.
Getting Started
pip install sqlfluff
sqlfluff lint
TODO
- Basic ANSI linting
- MySQL
- Redshift
- Detecting dialect from a config file of some kind
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
- Added operator regexes
- Added a priority for matchers to resolve some abiguity
[0.0.3] - 2018-11-14
Added
- Refactor of rules to allow rules with memory
- Adding comma linting rules (correcting the single character matchers)
- Adding mixed indentation linting rules
- Integration with CircleCI, CodeCov and lots of badges
Changed
- Changed import of version information to fix bug with importing config.ini
- Added basic violations/file reporting for some verbosities
- Refactor of rules to simplify definition
- Refactor of color cli output to make it more reusable
[0.0.2] - 2018-11-09
Added
- Longer project description
- Proper exit codes
- colorama for colored output
Changed
- Significant CLI changes
- Much improved output from CLI
[0.0.1] - 2018-11-07
Added
- Initial Commit! - VERY ALPHA
- Restructure into package layout
- Adding Tox and Pytest so that they work
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
sqlfluff-0.0.4.tar.gz
(14.7 kB
view details)
Built Distribution
sqlfluff-0.0.4-py3.6.egg
(34.4 kB
view details)
File details
Details for the file sqlfluff-0.0.4.tar.gz
.
File metadata
- Download URL: sqlfluff-0.0.4.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb56fe9e51aeaf4ff2fe952ed9f95d6607c4ccd4118260f16b6cb79d3f502f6 |
|
MD5 | 62de4d9c2bd43843f3b373d6931e6f5f |
|
BLAKE2b-256 | d55fdbc14ba621dbd89de5446cc1cab29b2defb1e42b7db052cd2082dd925cf8 |
File details
Details for the file sqlfluff-0.0.4-py3.6.egg
.
File metadata
- Download URL: sqlfluff-0.0.4-py3.6.egg
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0fd9991cea17a7fdb7d32b971e8c17c3fef98e1ee51005a8087a3d09bf33463 |
|
MD5 | d29c49711ad6b5519ceb7d1685e31804 |
|
BLAKE2b-256 | 86d36748576435ccaf1a1f980b5c0dd1710fc8a87b9badde842679fc025a5590 |