-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.pre-commit-config.yaml
35 lines (31 loc) · 1012 Bytes
/
.pre-commit-config.yaml
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
33
34
35
## Pre-commit setup
ci:
autofix_commit_msg: |
style: auto fixes from pre-commit hooks
repos:
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
name: Running black in all files.
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--extend-skip", "table2ascii"]
name: Running isort in all files.
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-ast
name: Check if python files are valid syntax for the ast parser
- id: check-case-conflict
name: Check for case conflict on file names for case insensitive systems.
- id: check-merge-conflict
name: Check for merge conflict syntax.
- id: check-toml
name: Check TOML files for valid syntax.
- id: check-yaml
name: Check YAML files for valid syntax.
- id: debug-statements
name: Check for debug statements.