-
Notifications
You must be signed in to change notification settings - Fork 235
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (36 loc) · 914 Bytes
/
.pre-commit-config.yaml
File metadata and controls
36 lines (36 loc) · 914 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
---
minimum_pre_commit_version: 3.3.3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
files: \.py$
- id: check-merge-conflict
- id: check-case-conflict
- id: check-json
files: \.json$
- id: check-yaml
files: \.yaml$
- id: debug-statements
- id: pretty-format-json
args:
- --autofix
files: \.json$
- id: trailing-whitespace
files: \.py$
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.0
hooks:
- id: autoflake
args:
- --in-place
- --remove-unused-variables
- --recursive
- --ignore-pass-statements
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]