mirror of
https://github.com/esphome/esphome.git
synced 2025-07-31 15:37:49 +00:00
do not analyze platformio files
This commit is contained in:
parent
ab454e9928
commit
f76cba0af6
@ -152,7 +152,9 @@ def run_tidy(executable, args, options, tmpdir, path_queue, lock, failed_files):
|
||||
if sys.stdout.isatty():
|
||||
invocation.append("--use-color")
|
||||
|
||||
invocation.append(f"--header-filter={os.path.abspath(basepath)}/.*")
|
||||
invocation.append(
|
||||
f"--header-filter=^{os.path.abspath(basepath)}/(?!.*\\.platformio/).*"
|
||||
)
|
||||
invocation.append(os.path.abspath(path))
|
||||
invocation.append("--")
|
||||
invocation.extend(options)
|
||||
|
Loading…
x
Reference in New Issue
Block a user