35 lines
692 B
YAML
35 lines
692 B
YAML
# Install pre-commit hooks via
|
|
# pre-commit install
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 24.10.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 7.1.1
|
|
hooks:
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.11.2
|
|
hooks:
|
|
- id: mypy
|
|
files: ^sphinx_llms_txt/
|
|
additional_dependencies: [types-docutils]
|
|
|
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
|
rev: v1.0.0
|
|
hooks:
|
|
- id: sphinx-lint
|
|
args: [--jobs=1]
|
|
files: ^docs/|CHANGELOG.rst|README.rst
|
|
types: [rst]
|