From 5364ed5037557077e1fff0f8ce1322020fa0882e Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 6 Aug 2024 11:12:43 +0200 Subject: [PATCH] Add repo-review pre-commit hook --- .pre-commit-config.yaml | 5 +++++ pyproject.toml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b7c887b..022d972b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,3 +31,8 @@ repos: - importlib_metadata - typing-extensions>=4.5 - rich + +- repo: https://github.com/scientific-python/cookie + rev: "2024.04.23" + hooks: + - id: sp-repo-review diff --git a/pyproject.toml b/pyproject.toml index dd607d1b..d1debc67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -146,3 +146,6 @@ markers = [ [tool.scriv] format = "md" + +[tool.repo-review] +ignore = ["PP305", "GH103", "GH212", "PC111", "PC160", "PC160", "PC170", "PC180", "PC901", "MY100"]