mirror of
https://github.com/syssi/esphome-votronic.git
synced 2025-07-23 04:23:02 +02:00
29 lines
783 B
YAML
29 lines
783 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/ambv/black
|
|
rev: 22.1.0
|
|
hooks:
|
|
- id: black
|
|
args:
|
|
- --safe
|
|
- --quiet
|
|
files: ^((components|esphome|script|tests)/.+)?[^/]+\.py$
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies:
|
|
- flake8-docstrings==1.5.0
|
|
- pydocstyle==5.1.1
|
|
files: ^(components|esphome|tests)/.+\.py$
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v2.31.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py38-plus]
|
|
- repo: https://github.com/pocc/pre-commit-hooks
|
|
rev: v1.3.5
|
|
hooks:
|
|
- id: clang-format
|