forked from JonSnowbd/TagScript
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
29 lines (27 loc) · 711 Bytes
/
.pre-commit-config.yaml
File metadata and controls
29 lines (27 loc) · 711 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
default_language_version:
python: python3.8
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-builtin-literals
- id: check-ast
- id: check-json
- id: detect-private-key
# - id: pretty-format-json
# args: [--autofix, --indent 4]
- id: requirements-txt-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/psf/black
rev: '20.8b1'
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: '5.8.0'
hooks:
- id: isort