This repository was archived by the owner on Apr 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
54 lines (54 loc) · 1.46 KB
/
.pre-commit-config.yaml
File metadata and controls
54 lines (54 loc) · 1.46 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
45
46
47
48
49
50
51
52
53
54
default_language_version:
node: system
python: python3.11
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 22.3.0
hooks:
- id: black
language_version: python3.11
exclude: .+/migrations
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pycqa/flake8
# flake8 config is in setup.cfg
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v6.8.0
hooks:
- id: eslint
additional_dependencies:
- eslint@8.10.0
- eslint-config-torchbox@0.6.0
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.2
hooks:
- id: prettier
types_or: [markdown, css, scss, javascript, ts, tsx, json, yaml, vue]
- repo: https://github.com/awebdeveloper/pre-commit-stylelint
rev: c4c991cd38b0218735858716b09924f8b20e3812
hooks:
- id: stylelint
files: \.(scss|vue)$
additional_dependencies:
- stylelint@13.13.1
- stylelint-config-torchbox@1.0.0
- repo: https://github.com/Yelp/detect-secrets
rev: v0.14.3
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
exclude: >
(?x)^(
.*/tests/.*|
package-lock.json|
poetry.lock
)$
- repo: https://github.com/rtts/djhtml
rev: v1.4.11
hooks:
- id: djhtml