Files
anybadge/.pre-commit-config.yaml
Jon Grace-Cox a076a4867a chore: Update pre-commit hooks
Update pre-commit hooks to latest version and apply fixes for
mypy type checking and linting.
2024-12-30 06:46:24 -05:00

22 lines
509 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-case-conflict
- id: check-yaml
- id: requirements-txt-fixer
- id: mixed-line-ending
- id: no-commit-to-branch
args: [--branch, master]
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.0
hooks:
- id: mypy
additional_dependencies: [types-requests]