mirror of
https://github.com/esphome/esphome.git
synced 2025-08-03 00:47:47 +00:00
Revert "do not analyze platformio files"
This reverts commit 55a7926670247ca9ccc90821d2ec3ffa05878b08.
This commit is contained in:
parent
55a7926670
commit
33389f9c7f
@ -152,8 +152,6 @@ def run_tidy(executable, args, options, tmpdir, path_queue, lock, failed_files):
|
||||
if sys.stdout.isatty():
|
||||
invocation.append("--use-color")
|
||||
|
||||
# Exclude PlatformIO files from analysis since we can't fix issues in external code
|
||||
# and they often generate false positives
|
||||
invocation.append(
|
||||
f"--header-filter=^{os.path.abspath(basepath)}/(?!.*\\.platformio/).*"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user