-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
.pre-commit-config.yaml
40 lines (39 loc) · 968 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
repos:
- repo: local
hooks:
- id: flynt
name: "flynt"
entry: flynt
args: [--fail-on-change]
types: [python]
language: system
- id: ruff-format
name: "ruff format"
entry: ruff format
types: [python]
language: system
- id: ruff-lint
name: "ruff lint"
entry: ruff check
args:
- --fix
types: [python]
language: system
- id: bandit
name: "bandit"
entry: bandit
language: system
types: [python]
args: [--ini, .bandit]
- id: mypy
name: "mypy"
entry: mypy
args: ["--config-file", "pyproject.toml"]
types: [python]
language: system
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: end-of-file-fixer
exclude: .*(min.js|min.css|html|svg|css.map|js.map)
- id: trailing-whitespace