blob: 6753d20aaedbd9adea8138043ee3f6d46937e6a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
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
args: [--combine-as]
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
|