Merging upstream version 10.4.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
de4e42d4d3
commit
0c79f8b507
88 changed files with 1637 additions and 436 deletions
31
.pre-commit-config.yaml
Normal file
31
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: autoflake
|
||||
name: autoflake
|
||||
entry: autoflake -i -r
|
||||
language: system
|
||||
types: [ python ]
|
||||
require_serial: true
|
||||
files: ^(sqlglot/|tests/|setup.py)
|
||||
- id: isort
|
||||
name: isort
|
||||
entry: isort
|
||||
language: system
|
||||
types: [ python ]
|
||||
files: ^(sqlglot/|tests/|setup.py)
|
||||
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
|
||||
language: system
|
||||
types: [ python ]
|
||||
files: ^(sqlglot/|tests/)
|
||||
require_serial: true
|
Loading…
Add table
Add a link
Reference in a new issue