forked from thezak48/comps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
51 lines (51 loc) · 1.44 KB
/
.pre-commit-config.yaml
File metadata and controls
51 lines (51 loc) · 1.44 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
repos:
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/isort
rev: 6.0.1
hooks:
- id: isort
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 7.3.0
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.36.4
hooks:
- id: djlint
name: djLint (Jinja)
entry: djlint --profile=jinja --reformat --check
language: python
types: [jinja]
files: templates/.*\.jinja$
- repo: local
hooks:
- id: prettier-check-static
name: Prettier Check (static js/css)
entry: npm run prettier:check --
language: system
types: [css, javascript]
files: static/(js|css)/.*\.(js|css)$
- id: prettier-format-static
name: Prettier Format (static js/css)
entry: npm run prettier:format --
language: system
types: [css, javascript]
files: static/(js|css)/.*\.(js|css)$
- id: eslint-static
name: ESLint (static js)
entry: npm run lint:js --
language: system
types: [javascript]
files: static/js/.*\.js$
- id: stylelint-static
name: Stylelint (static css)
entry: npm run lint:css --
language: system
types: [css]
files: static/css/.*\.css$