-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve usability of Sphinx Lint with pre-commit (#94)
Co-authored-by: Hugo van Kemenade <[email protected]>
- Loading branch information
1 parent
84d17a7
commit dbccac0
Showing
2 changed files
with
7 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
- id: sphinx-lint | ||
name: Sphinx lint | ||
description: 'Searches for common typos in sphinx-flavored rst files.' | ||
files: '\.rst$' | ||
name: Sphinx Lint | ||
description: 'Searches for common problems in Sphinx-flavored reST files' | ||
types: [rst] | ||
# Defer to pre-commit on the best way to delegate resources across available cores | ||
args: [--jobs=1] | ||
entry: sphinx-lint | ||
language: python | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters