forked from pollen-robotics/AmazingHand
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (31 loc) · 940 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (31 loc) · 940 Bytes
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
# See https://pre-commit.com for usage. All hooks limited to PythonExample/.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
files: ^PythonExample/
- id: end-of-file-fixer
files: ^PythonExample/
exclude: \.pytest_cache
- id: check-yaml
files: ^PythonExample/
- id: check-added-large-files
args: ["--maxkb=1000"]
files: ^PythonExample/
- id: check-merge-conflict
files: ^PythonExample/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
hooks:
- id: ruff
args: [--fix]
files: ^PythonExample/
- repo: local
hooks:
- id: pytest
name: pytest
entry: bash -c 'cd PythonExample && PYTHONPATH= pixi run python -m pytest tests/ -v'
language: system
pass_filenames: false
files: ^PythonExample/