forked from iiasa/message_ix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
38 lines (37 loc) · 940 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
35
36
37
38
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
hooks:
- id: mypy
pass_filenames: false
additional_dependencies:
- asyncssh
- git+https://github.com/iiasa/ixmp.git@main
- importlib_resources
- matplotlib
- pandas-stubs
- pytest
- Sphinx
- types-PyYAML
- types-requests
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.1
hooks:
- id: ruff
- id: ruff-format
args: [ --check ]
# GitHub Actions workflows
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
name: Validate GitHub Actions workflow YAML
files: '.github/workflows/.*\.ya?ml'
- repo: local
hooks:
- id: validate-github-actions
name: Validate GitHub Actions workflow schema
language: rust
entry: action-validator
additional_dependencies: [ cli:action-validator:0.6.0 ]
files: '.github/workflows/.*\.ya?ml'