mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 00:18:11 +01:00
Lint updates (#3992)
This commit is contained in:
parent
2c76381fcd
commit
16ebf9da4c
2 changed files with 5 additions and 5 deletions
|
@ -3,15 +3,15 @@
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/ambv/black
|
- repo: https://github.com/ambv/black
|
||||||
rev: 22.6.0
|
rev: 22.8.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args:
|
args:
|
||||||
- --safe
|
- --safe
|
||||||
- --quiet
|
- --quiet
|
||||||
files: ^((esphome|script|tests)/.+)?[^/]+\.py$
|
files: ^((esphome|script|tests)/.+)?[^/]+\.py$
|
||||||
- repo: https://gitlab.com/pycqa/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 4.0.1
|
rev: 5.0.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
|
@ -27,7 +27,7 @@ repos:
|
||||||
- --branch=release
|
- --branch=release
|
||||||
- --branch=beta
|
- --branch=beta
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.0.0
|
rev: v3.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py39-plus]
|
args: [--py39-plus]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pylint==2.15.5
|
pylint==2.15.5
|
||||||
flake8==5.0.4
|
flake8==5.0.4 # also change in .pre-commit-config.yaml when updating
|
||||||
black==22.8.0 # also change in .pre-commit-config.yaml when updating
|
black==22.8.0 # also change in .pre-commit-config.yaml when updating
|
||||||
pyupgrade==3.2.0 # also change in .pre-commit-config.yaml when updating
|
pyupgrade==3.2.0 # also change in .pre-commit-config.yaml when updating
|
||||||
pre-commit
|
pre-commit
|
||||||
|
|
Loading…
Reference in a new issue