[script] Make pre-commit and helpers work on Windows (#16260)

Co-authored-by: Jonathan Swoboda <swoboda1337@users.noreply.github.com>
This commit is contained in:
Jonathan Swoboda
2026-05-06 07:11:06 -05:00
committed by GitHub
co-authored by Jonathan Swoboda
parent 85f33978e7
commit 29db5fa4bb
3 changed files with 11 additions and 4 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ repos:
hooks:
- id: pylint
name: pylint
entry: python3 script/run-in-env.py pylint
entry: python script/run-in-env.py pylint
language: system
types: [python]
files: ^esphome/.+\.py$
@@ -68,5 +68,5 @@ repos:
additional_dependencies: []
- id: ci-custom
name: ci-custom
entry: python3 script/run-in-env.py script/ci-custom.py
entry: python script/run-in-env.py script/ci-custom.py
language: system