Closed xobs closed 2 years ago
On Windows, the command idf.py clang-check opens run-clang-tidy.py instead of running it. This is because it appears to execute the command directly instead of passing it through a Python interpreter.
idf.py clang-check
run-clang-tidy.py
The documentation at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-clang-tidy.html does not specify any required platform, and seems to indicate that Windows should be supported.
It correctly runs run-clang-tidy.py if I specify that it should use python to run the script:
idf.py clang-check --run-clang-tidy-py "python $HOME\esp\esp-idf\tools\run-clang-tidy.py"
On Windows, the command
idf.py clang-check
opensrun-clang-tidy.py
instead of running it. This is because it appears to execute the command directly instead of passing it through a Python interpreter.The documentation at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-clang-tidy.html does not specify any required platform, and seems to indicate that Windows should be supported.
It correctly runs
run-clang-tidy.py
if I specify that it should use python to run the script: