-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
executable file
·44 lines (44 loc) · 1.08 KB
/
.pre-commit-config.yaml
File metadata and controls
executable file
·44 lines (44 loc) · 1.08 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
args: ['--maxkb=200']
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: detect-private-key
- id: forbid-submodules
- id: name-tests-test
# - id: no-commit-to-branch
- id: pretty-format-json
# - repo: https://github.com/psf/black
# rev: 24.8.0
# hooks:
# - id: black
# - repo: https://github.com/astral-sh/ruff-pre-commit
# rev: v0.6.4
# hooks:
# Run the linter.
# - id: ruff
# types_or: [ python, pyi ]
# args: [ --fix ]
# # Run the formatter.
# - id: ruff-format
# types_or: [ python, pyi ]
- repo: https://github.com/standard/standard
rev: v17.1.1
hooks:
- id: standard
# - repo: https://github.com/pycqa/isort
# rev: 5.13.2
# hooks:
# - id: isort
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
files: README.md