platformio/platformio-core
View on GitHubpio check reports different errors if run with -v flag
Open
#4,943 opened on Jun 29, 2024
help wantedstatic analysis
Repository metrics
- Stars
- (7,329 stars)
- PR merge metrics
- (Avg merge 109d 16h) (5 merged PRs in 30d)
Description
What kind of issue is this?
- PlatformIO Core. If you’ve found a bug, please provide an information below.
Configuration
Operating system: Manjaro Linux
PlatformIO Version (platformio --version): 6.1.15
Description of problem
pio check using clang-tidy reports a different number of errors when run with or without the -v flag
Steps to Reproduce
- Run
pio check - One medium error reported
- Run
pio check -v - One high and one medium error reported
Actual Results
Different number of errors reported
Expected Results
Same number of errors reported
Source file to reproduce issue: Minimal example to reproduce the error: https://github.com/simgunz/platformio-linter-problems/releases/tag/cppcoreguidelines-init-variables-v1