-
Notifications
You must be signed in to change notification settings - Fork 14
/
.pre-commit-config.yaml
39 lines (37 loc) · 997 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
37
38
39
default_language_version:
python: python3.8
fail_fast: false
ci:
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-yaml
- id: trailing-whitespace
- id: check-builtin-literals
- id: check-ast
- id: check-docstring-first
- id: check-json
- id: detect-private-key
- id: check-toml
- id: requirements-txt-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/humitos/mirrors-autoflake.git
rev: v1.1
hooks:
- id: autoflake
args: ['--in-place', '--remove-unused-variable']
- repo: https://github.com/psf/black
rev: '21.6b0'
hooks:
- id: black
- repo: https://github.com/Pierre-Sassoulas/black-disable-checker
rev: '1.0.1'
hooks:
- id: black-disable-checker
- repo: https://github.com/pycqa/isort
rev: '5.9.1'
hooks:
- id: isort