Skip to content

Commit

Permalink
Add linting hooks for pre-commit #31
Browse files Browse the repository at this point in the history
  • Loading branch information
eviau-artefactual authored Aug 27, 2024
2 parents 4f7d72b + e090828 commit 2223132
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
---
repos:
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: "v0.9.1"
hooks:
- id: sphinx-lint
- repo: https://github.com/PyCQA/doc8
rev: v1.1.1
hooks:
- id: doc8
files: ^docs/.*\.rst$
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: "v0.9.1"
hooks:
- id: sphinx-lint
- repo: https://github.com/PyCQA/doc8
rev: v1.1.1
hooks:
- id: doc8
files: ^docs/.*\.rst$
- repo: "https://github.com/igorshubovych/markdownlint-cli"
rev: "v0.39.0"
hooks:
- id: markdownlint
exclude: |
(?x)^(
issue_template\.md
)
- repo: "https://github.com/adrienverge/yamllint"
rev: "v1.34.0"
hooks:
- id: yamllint

0 comments on commit 2223132

Please sign in to comment.