mirror of https://github.com/esphome/esphome.git
Add pylint to git pre-commit hooks
This commit is contained in:
parent
47a1710b1e
commit
877c7263df
|
@ -40,3 +40,10 @@ repos:
|
|||
hooks:
|
||||
- id: clang-format
|
||||
types_or: [c, c++]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pylint
|
||||
name: pylint
|
||||
entry: pylint
|
||||
language: system
|
||||
types: [python]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
pylint==3.1.0
|
||||
pylint==3.1.0 # also change in .pre-commit-config.yaml when updating
|
||||
flake8==7.0.0 # also change in .pre-commit-config.yaml when updating
|
||||
black==24.4.0 # also change in .pre-commit-config.yaml when updating
|
||||
pyupgrade==3.15.2 # also change in .pre-commit-config.yaml when updating
|
||||
|
|
Loading…
Reference in New Issue