A plugin for rules that enforce common SQL conventions not available in SQLFluff, compatible with BigQuery SQL.
Project description
sqlfluff-common-conventions
A plugin for rules that enforce common SQL conventions not available in SQLFluff, compatible with BigQuery SQL.
Rules
As of 25 April 2024, all rules are compatible with snake, dromedary, and pascal case.
- CC01: Start boolean columns with
is
orhas
. - CC02: End datetime, time, and timestamp columns with
at
. - CC03: End date columns with
date
. - CC04: Only allow a list of configurable strings to be used in identifiers.
- CC05: Block a list of configurable strings from being used in identifiers.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sqlfluff_common_conventions-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c7037dcb3ca418837eaa32f63f97ec0226bc216fa6147378c3c464a440dfeb |
|
MD5 | 6797a660e306ee2e59bfc3ae3da770f2 |
|
BLAKE2b-256 | 1689625eec98b5f4270939144ec29fd363f34ac80a13a3e16310ff37409fa211 |
Close
Hashes for sqlfluff_common_conventions-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7886cf72f190940b8dd801b7c312649bd32d3a2d4638331f7cd6c9fceb960f6 |
|
MD5 | c3193a9e9ffe693c29e1bf03274f3f99 |
|
BLAKE2b-256 | 01404e17e239f62d197da6d3a0cff7fe8fa1531548204d1b3870384bebdafdf9 |