Adding upstream version 21.0.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
07f4660f31
commit
91f2cef5f0
115 changed files with 66603 additions and 60920 deletions
|
@ -1,28 +1,27 @@
|
|||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: autoflake
|
||||
name: autoflake
|
||||
entry: autoflake -i -r
|
||||
language: system
|
||||
types: [ python ]
|
||||
- id: ruff
|
||||
name: ruff
|
||||
description: "Run 'ruff' for extremely fast Python linting"
|
||||
entry: ruff check
|
||||
--force-exclude --fix
|
||||
--ignore E721
|
||||
--ignore E741
|
||||
language: python
|
||||
types_or: [python, pyi]
|
||||
require_serial: true
|
||||
additional_dependencies: []
|
||||
files: ^(sqlglot/|tests/|setup.py)
|
||||
- id: isort
|
||||
args: [--combine-as]
|
||||
name: isort
|
||||
entry: isort
|
||||
language: system
|
||||
types: [ python ]
|
||||
files: ^(sqlglot/|tests/|setup.py)
|
||||
- id: ruff-format
|
||||
name: ruff-format
|
||||
description: "Run 'ruff format' for extremely fast Python formatting"
|
||||
entry: ruff format
|
||||
--force-exclude
|
||||
--line-length 100
|
||||
language: python
|
||||
types_or: [python, pyi]
|
||||
require_serial: true
|
||||
- id: black
|
||||
name: black
|
||||
entry: black --line-length 100
|
||||
language: system
|
||||
types: [ python ]
|
||||
require_serial: true
|
||||
files: ^(sqlglot/|tests/|setup.py)
|
||||
- id: mypy
|
||||
name: mypy
|
||||
entry: mypy sqlglot tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue