[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 SwobodaandJonathan Swoboda authored and GitHub committed 2026-05-06 07:11:06 -05:00
1 parent 85f33978e7
commit 29db5fa4bb
3 files changed
+11 -4

No files matched your search

+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