-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
44 lines (44 loc) · 1.34 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
44 lines (44 loc) · 1.34 KB
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
40
41
42
43
44
default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-ast
- id: check-docstring-first
# - repo: https://github.com/pycqa/isort
# rev: 5.10.1
# hooks:
# - id: isort
# name: isort (python)
# types: [python]
# - repo: https://github.com/ikamensh/flynt/
# rev: '0.76'
# hooks:
# - id: flynt
# language: python
# types: [python]
# args: [--line-length, '999', --aggressive, --fail-on-change]
# - repo: https://github.com/psf/black
# rev: 21.12b0
# hooks:
# - id: black
# - repo: https://github.com/flakeheaven/flakeheaven
# rev: 0.11.0
# hooks:
# - id: flakeheaven
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: fix-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer