Add PIO Check to changelog

This commit is contained in:
Ivan Kravets
2019-09-23 21:57:31 +03:00
parent 61b6eea52c
commit 5e144a2c98
6 changed files with 15 additions and 7 deletions

View File

@ -9,9 +9,18 @@ PlatformIO Core 4.0
4.1.0 (2019-??-??) 4.1.0 (2019-??-??)
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
* `PIO Check <http://docs.platformio.org/page/plus/pio-check.html>`__ automated code analysis without hassle:
- Potential NULL pointer dereferences
- Possible indexing beyond array bounds
- Suspicious assignments
- Reads of potentially uninitialized objects
- Unused variables or functions
- Out of scope memory usage.
* Extend project environment configuration in "platformio.ini" with other sections using a new `extends <http://docs.platformio.org/page/projectconf/section_env_advanced.html#extends>`__ option (`issue #2953 <https://github.com/platformio/platformio-core/issues/2953>`_) * Extend project environment configuration in "platformio.ini" with other sections using a new `extends <http://docs.platformio.org/page/projectconf/section_env_advanced.html#extends>`__ option (`issue #2953 <https://github.com/platformio/platformio-core/issues/2953>`_)
* New ``--no-ansi`` flag for `PIO Core <http://docs.platformio.org/page/userguide/index.html>`__ to disable ANSI control characters
* Generate ``.ccls`` LSP file for `Emacs <https://docs.platformio.org/page/ide/emacs.html>`__ cross references, hierarchies, completion and semantic highlighting * Generate ``.ccls`` LSP file for `Emacs <https://docs.platformio.org/page/ide/emacs.html>`__ cross references, hierarchies, completion and semantic highlighting
* Added ``--no-ansi`` flag for `PIO Core <http://docs.platformio.org/page/userguide/index.html>`__ to disable ANSI control characters
* Fixed an issue with project generator for `CLion IDE <http://docs.platformio.org/page/ide/clion.html>`__ when 2 environments were used (`issue #2824 <https://github.com/platformio/platformio-core/issues/2824>`_) * Fixed an issue with project generator for `CLion IDE <http://docs.platformio.org/page/ide/clion.html>`__ when 2 environments were used (`issue #2824 <https://github.com/platformio/platformio-core/issues/2824>`_)
* Fixed default PIO Unified Debugger configuration for `J-Link probe <http://docs.platformio.org/page/plus/debug-tools/jlink.html>`__ * Fixed default PIO Unified Debugger configuration for `J-Link probe <http://docs.platformio.org/page/plus/debug-tools/jlink.html>`__

View File

@ -24,8 +24,8 @@ import click
from tabulate import tabulate from tabulate import tabulate
from platformio import exception, fs, util from platformio import exception, fs, util
from platformio.commands.check.tools import CheckToolFactory
from platformio.commands.check.defect import DefectItem from platformio.commands.check.defect import DefectItem
from platformio.commands.check.tools import CheckToolFactory
from platformio.compat import dump_json_to_unicode from platformio.compat import dump_json_to_unicode
from platformio.project.config import ProjectConfig from platformio.project.config import ProjectConfig
from platformio.project.helpers import (find_project_dir_above, from platformio.project.helpers import (find_project_dir_above,

View File

@ -13,8 +13,8 @@
# limitations under the License. # limitations under the License.
from platformio import exception from platformio import exception
from platformio.commands.check.tools.cppcheck import CppcheckCheckTool
from platformio.commands.check.tools.clangtidy import ClangtidyCheckTool from platformio.commands.check.tools.clangtidy import ClangtidyCheckTool
from platformio.commands.check.tools.cppcheck import CppcheckCheckTool
class CheckToolFactory(object): class CheckToolFactory(object):

View File

@ -16,7 +16,7 @@ import click
from platformio import fs, proc from platformio import fs, proc
from platformio.commands.check.defect import DefectItem from platformio.commands.check.defect import DefectItem
from platformio.project.helpers import (get_project_dir, load_project_ide_data) from platformio.project.helpers import get_project_dir, load_project_ide_data
class CheckToolBase(object): # pylint: disable=too-many-instance-attributes class CheckToolBase(object): # pylint: disable=too-many-instance-attributes

View File

@ -15,8 +15,8 @@
import re import re
from os.path import join from os.path import join
from platformio.commands.check.tools.base import CheckToolBase
from platformio.commands.check.defect import DefectItem from platformio.commands.check.defect import DefectItem
from platformio.commands.check.tools.base import CheckToolBase
from platformio.managers.core import get_core_package_dir from platformio.managers.core import get_core_package_dir

View File

@ -16,9 +16,8 @@ from os import remove
from os.path import isfile, join from os.path import isfile, join
from tempfile import NamedTemporaryFile from tempfile import NamedTemporaryFile
from platformio.commands.check.tools.base import CheckToolBase
from platformio.commands.check.defect import DefectItem from platformio.commands.check.defect import DefectItem
from platformio.commands.check.tools.base import CheckToolBase
from platformio.managers.core import get_core_package_dir from platformio.managers.core import get_core_package_dir
from platformio.project.helpers import get_project_core_dir from platformio.project.helpers import get_project_core_dir