1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 22:53:59 +00:00

clang-format and clang-tidy scripts: More robust algorithm to find correct executable (#6041)

* More robust algorithm to find correct executable

* Revise message wording

* Add clang-tidy and clang-format to requirements.txt.
Add to message explaining install process.

* Extracted get_binary to helpers.py. Use execptions for clean exit.

* Add parameter types

* clang-{tidy,format} in requirements_test.txt
clean up script exit

* Kill processes on ^C

* Move clang-tidy and clang-format into requirements_dev.txt
This commit is contained in:
Clyde Stubbs
2024-01-03 16:00:52 +11:00
committed by GitHub
parent ae52164d9c
commit a2e152ad12
6 changed files with 78 additions and 46 deletions

3
requirements_dev.txt Normal file
View File

@@ -0,0 +1,3 @@
# Useful stuff when working in a development environment
clang-format==13.0.1
clang-tidy==14.0.6