Skip to content

Commit

Permalink
Add rstcheck pre-commit hook (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Feb 28, 2023
1 parent fef13cb commit b51c847
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -23,6 +23,12 @@ repos:
- id: setup-cfg-fmt
args:
- --include-version-classifiers
- repo: https://github.com/rstcheck/rstcheck
rev: v6.1.1
hooks:
- id: rstcheck
additional_dependencies:
- tomli==2.0.1
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Expand Up @@ -23,3 +23,6 @@ warn_unreachable = true
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true

[tool.rstcheck]
report_level = "ERROR"

0 comments on commit b51c847

Please sign in to comment.