Skip to content

Commit

Permalink
Add sphinx-lint pre-commit (and some docs fixes) (#29)
Browse files Browse the repository at this point in the history
Companion PR to rapidsai/cugraph#4771, because if we want `sphinx-lint` pre-commit there, then we probably want it here too.

The docs in this repo are out of date and were updated to make `sphinx-lint` happy.

Authors:
  - Erik Welch (https://github.com/eriknw)
  - Ralph Liu (https://github.com/nv-rliu)

Approvers:
  - Rick Ratzel (https://github.com/rlratzel)
  - Bradley Dice (https://github.com/bdice)

URL: #29
  • Loading branch information
eriknw authored Nov 20, 2024
1 parent 968bfa2 commit f9dd104
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ repos:
rev: 24.10.0
hooks:
- id: black
# - id: black-jupyter # Consider adding this
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
hooks:
Expand Down Expand Up @@ -108,6 +109,11 @@ repos:
language: python
pass_filenames: false
additional_dependencies: ["networkx>=3.4"]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
- id: sphinx-lint
args: ["--enable=all", "--disable=line-too-long"]
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v0.4.0
hooks:
Expand Down

0 comments on commit f9dd104

Please sign in to comment.