-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (40 loc) · 998 Bytes
/
.pre-commit-config.yaml
File metadata and controls
41 lines (40 loc) · 998 Bytes
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
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
# exclude: tests
- 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