-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
46 lines (44 loc) · 1.29 KB
/
.pre-commit-config.yaml
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
ci:
autofix_commit_msg: |
ci(pre-commit): Autofixing commit msg from pre-commit.com hooks
autofix_prs: true
autoupdate_branch: ""
autoupdate_commit_msg: "ci(autoupdate): Auto-update pre-commit hooks to latest versions"
autoupdate_schedule: monthly
skip: []
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
args:
- --config=backend/stan-wasm-server/pyproject.toml
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
args:
- --settings-path=backend/stan-wasm-server/pyproject.toml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.9.0"
hooks:
- id: mypy
args:
- --config-file=backend/stan-wasm-server/pyproject.toml
additional_dependencies:
- fastapi[all]
- repo: local
hooks:
- id: prettier
name: prettier (node)
language: node
additional_dependencies: [[email protected]]
entry: prettier --write --ignore-unknown --config=gui/package.json --ignore-path=gui/.prettierignore
files: gui/.*