2023-11-26 15:09:52 +01:00
|
|
|
---
|
|
|
|
exclude: '^aioesphomeapi/api.*$'
|
2023-10-20 02:00:36 +02:00
|
|
|
repos:
|
2024-08-05 03:42:21 +02:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v3.2.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v2.37.1
|
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py39-plus]
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2024-08-29 23:15:25 +02:00
|
|
|
rev: v0.6.3
|
2024-08-05 03:42:21 +02:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|
|
|
|
args: [--fix]
|
|
|
|
- id: ruff-format
|
|
|
|
- repo: https://github.com/cdce8p/python-typing-update
|
|
|
|
rev: v0.6.0
|
|
|
|
hooks:
|
|
|
|
- id: python-typing-update
|
|
|
|
stages: [manual]
|
|
|
|
args:
|
|
|
|
- --py39-plus
|
|
|
|
- --force
|
|
|
|
- --keep-updates
|
|
|
|
files: ^(aioesphomeapi)/.+\.py$
|