-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (33 loc) · 795 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (33 loc) · 795 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
default_install_hook_types:
- pre-commit
- commit-msg
default_stages:
- pre-commit
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: no-commit-to-branch
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- id: gitlint
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-pyproject
- flake8-import-order
- flake8-builtins
- flake8-annotations
- flake8-quotes
- flake8-simplify
- flake8-bugbear
- flake8-todo
- repo: http://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
args: [--check]