1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01: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

View File

@@ -11,5 +11,3 @@ pytest-mock==3.12.0
pytest-asyncio==0.23.2
asyncmock==0.4.2
hypothesis==5.49.0
clang-format==13.0.1 ; platform_machine != 'armv7l'