-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (37 loc) · 1.04 KB
/
.pre-commit-config.yaml
File metadata and controls
41 lines (37 loc) · 1.04 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
default_install_hook_types: [pre-commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: no-commit-to-branch
- id: check-json
- id: check-yaml
exclude: tests/everest/test_data/valid_config_file/invalid_yaml_config.yml # Invalid yml needed for testing
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: test-data/ert/eclipse/parse/ERROR.PRT # exact format is needed for testing
- repo: https://github.com/rhysd/actionlint
rev: v1.7.11
hooks:
- id: actionlint
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.5
hooks:
- id: ruff-check
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.10.9
hooks:
- id: uv-lock
args: ["--exclude-newer=P7D"]
- repo: local
hooks:
- id: pytest
name: pytest
entry: uv
args: [run, --all-extras, just, rapid-tests]
language: system
types: [python]
stages: [pre-push]
pass_filenames: false