-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (41 loc) · 1.05 KB
/
.pre-commit-config.yaml
File metadata and controls
41 lines (41 loc) · 1.05 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.1
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/google/yamlfmt
rev: v0.19.0
hooks:
- id: yamlfmt
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.11.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
hooks:
- id: mypy
args: []
additional_dependencies: ["numpy>=2.2", "pytest>=8.1.1", "types-networkx>=3.4.2.20250312"]
- repo: https://github.com/python-poetry/poetry
rev: "2.2.1"
hooks:
- id: poetry-check
- repo: local
hooks:
- id: pytest
name: Run pytest
entry: poetry run pytest
language: system
pass_filenames: false
always_run: true