Update check tools to the latest available // Resolve #4041

This commit is contained in:
valeros
2021-09-10 15:32:30 +03:00
parent d97ed52e91
commit 63a2465bac
3 changed files with 8 additions and 7 deletions

View File

@ -40,8 +40,9 @@ PlatformIO Core 5
- Updated analysis tools:
* `Cppcheck <https://docs.platformio.org/page/plus/check-tools/cppcheck.html>`__ v2.4.1 with new checks and MISRA improvements
* `PVS-Studio <https://docs.platformio.org/page/plus/check-tools/pvs-studio.html>`__ v7.12 with new diagnostics and extended capabilities for security and safety standards
* `Clang-Tidy <https://docs.platformio.org/page/plus/check-tools/pvs-studio.html>`__ v12.0.1 with new modules and extended checks list
* `Cppcheck <https://docs.platformio.org/page/plus/check-tools/cppcheck.html>`__ v2.5.0 with improved code analysis and MISRA improvements
* `PVS-Studio <https://docs.platformio.org/page/plus/check-tools/pvs-studio.html>`__ v7.14 with support for intermodular analysis, improved MISRA support and new diagnostics
* **Miscellaneous**

View File

@ -51,9 +51,9 @@ __core_packages__ = {
"contrib-pysite": "~2.%d%d.0" % (sys.version_info.major, sys.version_info.minor),
"tool-unity": "~1.20500.0",
"tool-scons": "~4.40200.0",
"tool-cppcheck": "~1.241.0",
"tool-clangtidy": "~1.100000.0",
"tool-pvs-studio": "~7.12.0",
"tool-cppcheck": "~1.250.0",
"tool-clangtidy": "~1.120001.0",
"tool-pvs-studio": "~7.14.0",
}
__check_internet_hosts__ = [

View File

@ -67,9 +67,9 @@ PVS_STUDIO_FREE_LICENSE_HEADER = """
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
"""
EXPECTED_ERRORS = 4
EXPECTED_ERRORS = 5
EXPECTED_WARNINGS = 1
EXPECTED_STYLE = 1
EXPECTED_STYLE = 2
EXPECTED_DEFECTS = EXPECTED_ERRORS + EXPECTED_WARNINGS + EXPECTED_STYLE