Skip to content

Commit

Permalink
adopt sp-repo-review pre-commit (#535)
Browse files Browse the repository at this point in the history
* adopt sp-repo-review pre-commit

* show errors and additionally skips
  • Loading branch information
bjlittle authored Nov 23, 2023
1 parent 12cf540 commit 448f668
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 448f668

Please sign in to comment.