We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8055103 commit d950ee7Copy full SHA for d950ee7
.pre-commit-config.yaml
@@ -49,7 +49,15 @@ repos:
49
- id: mypy
50
exclude: tests/
51
- repo: https://github.com/PrincetonUniversity/blocklint
52
- rev: v0.2.4
+ rev: v0.2.5
53
hooks:
54
- id: blocklint
55
exclude: 'docs/Makefile|docs/release_notes.rst|tox.ini'
56
+- repo: local
57
+ hooks:
58
+ - id: check-rst-files
59
+ name: Check for .rst files in the top-level directory
60
+ entry: sh -c 'ls *.rst 1>/dev/null 2>&1 && { echo "found .rst file in top-level folder"; exit 1; } || exit 0'
61
+ language: system
62
+ always_run: true
63
+ pass_filenames: false
0 commit comments