check: reduce verbosity, exclude libs

This commit is contained in:
Torrie Fischer 2023-03-03 18:45:21 +01:00
parent 69abcf2638
commit f9432d89bf
2 changed files with 5 additions and 1 deletions

View File

@ -16,4 +16,4 @@ pipeline:
check:
image: python
- pip install -U platformio
- pio check -e esp8266 -e esp32 --skip-packages --fail-on-defect medium --severity medium --severity high --severity low --pattern 'src/*' --pattern 'lib/*'
- pio check -e esp8266 -e esp32 --skip-packages --severity medium --severity high --pattern 'src' --pattern 'lib/Figments'

View File

@ -98,6 +98,8 @@ board_build.filesystem = littlefs
platform = espressif32
board = featheresp32
framework = arduino
check_flags =
cppcheck: --inline-suppr --suppress=*:*/.pio/*
src_build_flags =
${common_env_data.src_build_flags}
${config_nocolor.src_build_flags}
@ -116,6 +118,8 @@ extends = env:esp8266
board = esp12e
[env:esp8266]
check_flags =
cppcheck: --inline-suppr --suppress=*:*/.pio/*
platform = espressif8266
board = huzzah
framework = arduino