A plugin for rules that enforce common SQL conventions not available in SQLFluff, compatible with BigQuery SQL and Databricks SQL.
Reason this release was yanked:
Major bug in CC04.
Project description
sqlfluff-common-conventions
A plugin for rules that enforce common SQL conventions not available in SQLFluff, compatible with BigQuery SQL and Databricks SQL.
Rules
As of 8 May 2024, all rules are compatible with snake, dromedary, and pascal case.
- CC01: Start boolean columns with
isorhas. - 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.
- CC06: Ensure column and table names match a given regex.
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqlfluff_common_conventions-0.3.0.tar.gz.
File metadata
- Download URL: sqlfluff_common_conventions-0.3.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34131bc00716187d2a9f02ab7ee8c50eb8e3f94e315db05f05c8288ccc7f0fff
|
|
| MD5 |
3b2c27f1f77cf8c73adf4687652c8de7
|
|
| BLAKE2b-256 |
1b7926c460ea0518b29b6112a5564e5a529b5831ba7b8b8afaeb25680979e649
|
File details
Details for the file sqlfluff_common_conventions-0.3.0-py3-none-any.whl.
File metadata
- Download URL: sqlfluff_common_conventions-0.3.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7f6f115801f65ac8b4888961308ea3a0bf1cfef26bbe534d4c39ba6a21122aa
|
|
| MD5 |
a2a6ae6a84df2b8cd057308ff8c4edf3
|
|
| BLAKE2b-256 |
52f63eb39195ccbe1f84735567f271ed21205936ce23829599f71609340b8d15
|