-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
34 lines (34 loc) · 948 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- id: requirements-txt-fixer
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
files: \.(css|less|scss|json|yaml|yml|html|md|mdx|js|jsx|ts|tsx|graphql|gql|vue|svelte|toml)$
- repo: local
hooks:
- id: ruff
name: ruff
language: system
entry: uv run ruff check . --fix
pass_filenames: false
always_run: true
- id: mypy
name: mypy
language: system
entry: uv run mypy .
pass_filenames: false
always_run: true
- id: pytest
name: pytest
language: system
entry: uv run python -m pytest
pass_filenames: false
always_run: true