forked from pymc-devs/pytensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
34 lines (33 loc) · 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
ci:
autofix_prs: false
exclude: |
(?x)^(
versioneer\.py|
pytensor/_version\.py|
doc/.*|
)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.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/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
- id: sphinx-lint
args: ["."]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
hooks:
- id: ruff
args: ["--fix", "--output-format=full"]
- id: ruff-format