From 448f668bde748af82d14205acfbe2985b9bc8b83 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Thu, 23 Nov 2023 17:17:10 +0000 Subject: [PATCH] adopt sp-repo-review pre-commit (#535) * adopt sp-repo-review pre-commit * show errors and additionally skips --- .pre-commit-config.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1f86231..1afc6122 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -93,3 +93,15 @@ repos: - id: check-dependabot - id: check-github-workflows - id: check-readthedocs + + - repo: https://github.com/scientific-python/cookie + rev: 2023.11.17 + hooks: + - id: sp-repo-review + additional_dependencies: ["repo-review[cli]"] + args: ["--ignore=MY100,PC140,PC180", "--show=errskip"] + # MyPy (MY) + # - MY100: Uses MyPy (pyproject config). + # Pre-commit (PC) + # - PC140: Uses mypy. + # - PC180: Uses prettier.