-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (34 loc) · 903 Bytes
/
.pre-commit-config.yaml
File metadata and controls
38 lines (34 loc) · 903 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
default_language_version:
python: python3
repos:
- repo: local
hooks:
- id: black
name: Black Formatter
entry: black
language: python
types: [python]
additional_dependencies: [black]
- id: isort
name: Isort Import Sorter
entry: isort
language: python
types: [python]
additional_dependencies: [isort]
args: ["--profile=black"]
- id: flake8
name: Flake8 Linter
entry: flake8
language: python
types: [python]
additional_dependencies: [flake8]
args:
- "--max-line-length=88"
- "--ignore=E501,W503"
- "--exclude=migrations,.venv,__pycache__"
- id: bandit
name: Bandit Security Checker
entry: bandit
language: python
types: [python]
additional_dependencies: [bandit]