1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-07 07:33:16 +01:00

fix clang-tidy

This commit is contained in:
Tomasz Duda
2024-07-24 14:39:26 +02:00
parent 508468a031
commit dd43acf7af
3 changed files with 9 additions and 10 deletions
esphome
components
zephyr
core
script

@ -181,7 +181,8 @@ int main() { return 0;}
defines = []
define_pattern = re.compile(r"-D\s*([^\s]+)")
for match in define_pattern.findall(command):
defines.append(match)
if match not in ("_ASMLANGUAGE"):
defines.append(match)
return defines
def find_cxx_path(commands):