mirror of
https://github.com/jongracecox/anybadge.git
synced 2025-07-20 20:01:04 +02:00
Update pre-commit hooks to latest version and apply fixes for mypy type checking and linting.
22 lines
509 B
YAML
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]
|