Skip to content

Commit 23fbdab

Browse files
Enforce Repo-Review rules
1 parent 77f188c commit 23fbdab

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
@@ -257,3 +257,9 @@ filterwarnings = [
257257
markers = [
258258
"gpu: mark a test as requiring CuPy and GPU"
259259
]
260+
261+
[tool.repo-review]
262+
ignore = [
263+
"PC111", # fix Python code in documentation - enable later
264+
"PC180", # for JavaScript - not interested
265+
]

0 commit comments

Comments
 (0)