[ 源代码: sqlfluff ]
软件包:sqlfluff(1.4.5-2)
SQL linter tool
SQLFluff is an extensible and modular linter designed to help you write good SQL and catch errors and bad SQL before it hits your database.
SQLFluff has a few components:
1) A generic parser for SQL which aims to be able to unify SQL written in different dialects into a comparable format. Most of the codebase for SQLFluff is the parser, mostly because at the point of developing SQLFluff, there didn’t appear to be a good option for a whitespace-aware parser that could be used instead.
2) A mechanism for measuring written SQL against a set of rules, with the added ability to fix any violations found. The core vision for SQLFluff is to be really good at being the linter.
3) An opinionated set of guidelines for how SQL should be structured and formatted. SQLFluff aims to be opinionated but it also accepts that many organisations and groups have pre-existing strong conventions around how to write SQL and so ultimately SQLFluff should be flexible enough to support whichever rule set a user wishes to.
4) A public API for other Python applications to use SQLFluff to check and fix SQL code in an automated fashion.
This package installs the complete SQLFluff tool including the parser, lexer, the (configurable) rules, and the Python API.
其他与 sqlfluff 有关的软件包
|
|
|
|
-
- dep: python3
- 交互式高级面向对象语言(默认 python3 版本)
-
- dep: python3-appdirs
- determining appropriate platform-specific directories (Python 3)
-
- dep: python3-chardet
- Universal Character Encoding Detector (Python3)
-
- dep: python3-click
- Wrapper around optparse for command line utilities - Python 3.x
-
- dep: python3-colorama
- Cross-platform colored terminal text in Python - Python 3.x
-
- dep: python3-importlib-metadata
- library to access the metadata for a Python package - Python 3.x
- 或者 python3 (>> 3.8)
- 交互式高级面向对象语言(默认 python3 版本)
-
- dep: python3-jinja2
- small but fast and easy to use stand-alone template engine
-
- dep: python3-pathspec
- utility library for gitignore style pattern matching of file paths (Python 3)
-
- dep: python3-pytest
- Simple, powerful testing in Python3
-
- dep: python3-regex
- 备用正则表达式模块(Python 3)
-
- dep: python3-tblib
- Python 3 traceback fiddling library
-
- dep: python3-toml
- library for Tom's Obvious, Minimal Language - Python 3.x
-
- dep: python3-tqdm
- fast, extensible progress bar for Python 3 and CLI tool
-
- dep: python3-typing-extensions
- Backported and Experimental Type Hints for Python
-
- dep: python3-yaml
- YAML parser and emitter for Python3
-
- sug: sqlfluff-doc
- SQL linter tool - documentation