Skip to content

Commit

Permalink
Refactor pre-commit hook not to use archery
Browse files Browse the repository at this point in the history
  • Loading branch information
amoeba committed Feb 28, 2024
1 parent 8996f30 commit cd06982
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ repos:
- dockerfile
entry: --entrypoint /bin/hadolint hadolint/hadolint:latest -
exclude: ^dev/.*$
- id: sphinx-lint
name: Sphinx Lint
entry: archery lint --docs
language: system
files: ^docs/

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
Expand All @@ -58,3 +53,9 @@ repos:
hooks:
- id: cython-lint
args: [--no-pycodestyle]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.9.1
hooks:
- id: sphinx-lint
files: ^docs/
args: ['--disable', 'all', '--enable', 'trailing-whitespace,missing-final-newline', 'docs']

0 comments on commit cd06982

Please sign in to comment.