-
Notifications
You must be signed in to change notification settings - Fork 13
/
.pre-commit-config.yaml
36 lines (36 loc) · 988 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
repos:
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
additional_dependencies:
- flake8-builtins==2.0.1
- flake8-comprehensions==3.10.1
- flake8-eradicate==1.4.0
- flake8-print==5.0.0
- flake8-length==0.3.1
- flake8-quotes==3.3.1
- flake8-use-fstring==1.4
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: check-json
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
- id: no-commit-to-branch
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.5.0
hooks:
- id: commitlint
stages: [commit-msg]
- repo: local
hooks:
- id: type-check
name: type-check
entry: "make type-check"
language: python
types: [python]
require_serial: true
verbose: true