platformio/platformio-core

pio check reports different errors if run with -v flag

Open

#4.943 geöffnet am 29. Juni 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (791 Forks)batch import
help wantedstatic analysis

Repository-Metriken

Stars
 (7.329 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 109T 16h) (5 gemergte PRs in 30 T)

Beschreibung

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

  1. Run pio check
  2. One medium error reported
  3. Run pio check -v
  4. 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

Contributor Guide