Skip to content

Commit de075de

Browse files
Enforce Repo-Review rules (#2075)
Co-authored-by: David Stansby <[email protected]>
1 parent 3b793c1 commit de075de

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,12 @@ repos:
3939
- pytest
4040
# Zarr v2
4141
- types-redis
42+
- repo: https://github.com/scientific-python/cookie
43+
rev: 2024.04.23
44+
hooks:
45+
- id: sp-repo-review
46+
- repo: https://github.com/pre-commit/pygrep-hooks
47+
rev: v1.10.0
48+
hooks:
49+
- id: rst-directive-colons
50+
- id: rst-inline-touching-normal

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,9 @@ filterwarnings = [
258258
markers = [
259259
"gpu: mark a test as requiring CuPy and GPU"
260260
]
261+
262+
[tool.repo-review]
263+
ignore = [
264+
"PC111", # fix Python code in documentation - enable later
265+
"PC180", # for JavaScript - not interested
266+
]

0 commit comments

Comments
 (0)