forked from pymc-devs/pytensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
42 lines (42 loc) · 1.1 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
42
exclude: |
(?x)^(
versioneer\.py|
pytensor/_version\.py|
doc/.*|
bin/.*
)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: debug-statements
exclude: |
(?x)^(
pytensor/breakpoint\.py|
pytensor/graph/op\.py|
pytensor/compile/nanguardmode\.py|
pytensor/graph/rewriting/basic\.py|
pytensor/tensor/variable\.py|
)$
- id: check-merge-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.13
hooks:
- id: ruff
args: ["--fix", "--show-source"]
- id: ruff-format
args: ["--line-length=88"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy
language: python
entry: python ./scripts/run_mypy.py --verbose
additional_dependencies:
- numpy>=1.20
- pandas
- types-filelock
- types-setuptools>=67.6.0.8
always_run: true
require_serial: true
pass_filenames: false