-
Notifications
You must be signed in to change notification settings - Fork 8
/
.pre-commit-config.yaml
41 lines (41 loc) · 1.14 KB
/
.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
39
40
41
repos:
# Run ruff first because autofix behaviour is enabled
- repo: https://github.com/Quantco/pre-commit-mirrors-ruff
rev: "0.5.0"
hooks:
- id: ruff-conda
- id: ruff-format-conda
- repo: https://github.com/Quantco/pre-commit-mirrors-mypy
rev: "1.10.1"
hooks:
- id: mypy-conda
files: plateau
additional_dependencies:
- -c
- conda-forge
- types-setuptools
- types-decorator
- types-simplejson
- hypothesis
- numpy=1.26
- minimalkv=1.4.2
- repo: https://github.com/Quantco/pre-commit-mirrors-pyupgrade
rev: 3.15.2
hooks:
- id: pyupgrade-conda
args:
- --py38-plus
- repo: https://github.com/Quantco/pre-commit-mirrors-prettier
rev: 3.2.5
hooks:
- id: prettier-conda
files: "\\.md$"
- repo: https://github.com/Quantco/pre-commit-mirrors-docformatter
rev: 1.7.5
hooks:
- id: docformatter-conda
- repo: https://github.com/Quantco/pre-commit-mirrors-pre-commit-hooks
rev: 4.6.0
hooks:
- id: trailing-whitespace-conda
- id: end-of-file-fixer-conda