Skip to content
Sections
>> Trisquel >> Packages >> ecne (12.0LTS) >> python >> sqlfluff
[  ecne  ] [  xolotl  ]
[ Source: sqlfluff  ]

Package: sqlfluff (2.3.5-1)

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.

Other Packages Related to sqlfluff

  • depends
  • recommends
  • suggests
  • dep: diff-cover
    Run coverage and linting reports on diffs
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • 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
    or python3-supported-min (>= 3.8)
    Package not available
  • dep: python3-importlib-resources
    Read resources from Python packages
    or python3-supported-min (>= 3.9)
    Package not available
  • 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
    alternative regular expression module (Python 3)
  • dep: python3-tblib
    Python 3 traceback fiddling library
  • dep: python3-toml
    library for Tom's Obvious, Minimal Language - Python 3.x
    or python3-supported-min (>= 3.11)
    Package not available
  • 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

Download sqlfluff

Download for all available architectures
Architecture Package Size Installed Size Files
all 493.8 kB3158 kB [list of files]