bookwyrm/.pre-commit-config.yaml
2024-01-13 16:20:38 +00:00

29 lines
663 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
types: [file, text]
- id: end-of-file-fixer
types: [file, text]
- id: check-docstring-first
- id: check-case-conflict
- id: check-yaml
- repo: https://github.com/psf/black
rev: 23.12.1
hooks:
- id: black
types: [python]
- repo: https://github.com/PyCQA/pylint
rev: v3.0.3
hooks:
- id: pylint
types: [python]
- repo: local
hooks:
- id: pytest
name: pytest
entry: ./bw-dev pytest
language: system
files: \.py$