-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
44 lines (39 loc) · 1008 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: ^.*\.md$
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- id: name-tests-test
args: ['--pytest-test-first']
- id: requirements-txt-fixer
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
args: ["--line-length=100"]
- repo: https://github.com/hhatto/autopep8
rev: v2.3.2
hooks:
- id: autopep8
args: ["--in-place", "--aggressive", "--max-line-length=100"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
hooks:
- id: ruff
args: ["--fix"]
- repo: https://github.com/pycqa/pylint
rev: v3.3.4
hooks:
- id: pylint
# - repo: local
# hooks:
# - id: make-test
# name: make-test
# entry: sh -c "make test"
# language: system
# require_serial: true