mirror of https://github.com/scrapy/scrapy.git
33 lines
708 B
YAML
33 lines
708 B
YAML
exclude: |
|
|
(?x)(
|
|
^docs/_static|
|
|
^docs/_tests|
|
|
^tests/sample_data
|
|
)
|
|
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.15.20
|
|
hooks:
|
|
- id: ruff-check
|
|
args: [ --fix ]
|
|
- id: ruff-format
|
|
- repo: https://github.com/adamchainz/blacken-docs
|
|
rev: 1.20.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
additional_dependencies:
|
|
- black==26.5.1
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
|
rev: v1.0.2
|
|
hooks:
|
|
- id: sphinx-lint
|
|
- repo: https://github.com/scrapy/sphinx-scrapy
|
|
rev: 0.8.8
|
|
hooks:
|
|
- id: sphinx-scrapy
|