-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
45 lines (39 loc) · 933 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
36
37
38
39
40
41
42
43
44
45
default_language_version:
python: python3
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: ^(setup\.cfg)
- id: end-of-file-fixer
exclude: ^(setup\.cfg)
- id: check-merge-conflict
- id: detect-private-key
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
name: Black
args: [-t, "py310"]
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
entry: pflake8
additional_dependencies: [pyproject-flake8]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: Isort
- repo: local
hooks:
- id: mypy
name: mypy
entry: "mypy"
language: system
types: [python]
require_serial: true
verbose: false