Skip to content

Commit 5364ed5

Browse files
Add repo-review pre-commit hook
1 parent 715ef95 commit 5364ed5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ repos:
3131
- importlib_metadata
3232
- typing-extensions>=4.5
3333
- rich
34+
35+
- repo: https://github.com/scientific-python/cookie
36+
rev: "2024.04.23"
37+
hooks:
38+
- id: sp-repo-review

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,6 @@ markers = [
146146

147147
[tool.scriv]
148148
format = "md"
149+
150+
[tool.repo-review]
151+
ignore = ["PP305", "GH103", "GH212", "PC111", "PC160", "PC160", "PC170", "PC180", "PC901", "MY100"]

0 commit comments

Comments
 (0)