Skip to content

Commit aa61bee

Browse files
Enforce Repo-Review rules
1 parent 61683be commit aa61bee

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,8 @@ filterwarnings = [
224224
"ignore:PY_SSIZE_T_CLEAN will be required.*:DeprecationWarning",
225225
"ignore:The loop argument is deprecated since Python 3.8.*:DeprecationWarning",
226226
]
227+
228+
[tool.repo-review]
229+
# PC111: fixes code in documentation, left for later
230+
# PC180: prettier is for JavaScript, not interested
231+
ignore = ["PC111", "PC180"]

0 commit comments

Comments
 (0)