mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-16 11:05:10 +01:00
36 lines
876 B
YAML
36 lines
876 B
YAML
---
|
|
exclude: '^aioesphomeapi/api.*$'
|
|
repos:
|
|
- 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
|
|
rev: v0.6.3
|
|
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$
|
|
- repo: https://github.com/MarcoGorelli/cython-lint
|
|
rev: v0.16.2
|
|
hooks:
|
|
- id: cython-lint
|
|
- id: double-quote-cython-strings
|