Files
unifi-protect-backup/.pre-commit-config.yaml
2025-01-18 17:07:44 +00:00

31 lines
768 B
YAML

repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.9
hooks:
- id: forbid-crlf
- id: remove-crlf
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-merge-conflict
- id: check-yaml
args: [ --unsafe ]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.7
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
hooks:
- id: mypy
exclude: tests/
additional_dependencies:
- types-pytz
- types-cryptography
- types-python-dateutil
- types-aiofiles