Commit Graph

21 Commits

Author SHA1 Message Date
valeros 675dea1828 Additionally wrap the target compiler path in quotes for PVS-Studio 2026-01-15 16:03:14 +02:00
Alex Lisi 3337120f79 Fix: Quote cc_path to handle spaces in microcontroller names (#5351)
Wraps self.cc_path in quotes when building the toolchain defines extraction command. This fixes the issue where microcontroller names containing spaces (e.g., 'Feather M0') would cause the command to be split incorrectly.

Fixes #4894
2026-01-15 15:47:47 +02:00
Ivan Kravets d15314689d Resolved an issue where the `--project-dir` flag did not function correctly with the check and debug commands // Resolve #5029 2024-12-13 13:01:40 +02:00
Ivan Kravets 023b58e9f0 Fix PyLint warnings 2024-09-23 16:02:07 +03:00
adrianstephens dbe58b49bf paths fix for check tool (#4874)
* paths fix for check tool

* Minor changes

- Handle an edge case on Windows when sources and the project are located on different drives
- Cover edge cases with tests

---------

Co-authored-by: Valerii Koval <valeros@users.noreply.github.com>
2024-03-16 14:00:30 +02:00
Ivan Kravets adf94843ea Apply formatting 2024-01-27 14:01:42 +02:00
valeros 961ab6b35e Properly handle the check_src_filters option per environment
Resolves #4788
2023-11-17 13:12:40 +02:00
Ivan Kravets f219f35ac8 Updated the "pio project metadata" command to return C/C++ flags as parsed Unix shell arguments 2023-06-20 20:55:00 +03:00
Ivan Kravets 743fc8e636 Improved support for projects located on Windows network drives // Resolve #3417 2023-04-20 18:57:22 +03:00
Ivan Kravets f43f41cc53 Format code 2023-03-20 15:39:51 -06:00
Valerii Koval d9ff250f82 Improved file filtering for the Static Analysis feature (#4570)
* Improved file filtering for the Static Analysis feature

* Better handling of legacy "check_patterns" option

* Rename "check_src_filter" to plural form to better represent functionality

* Move to plural forms of filter variables
2023-03-19 00:45:59 +02:00
Ivan Kravets 1af508272b Format code with Black 23.1.0 2023-02-02 17:46:03 +02:00
Ivan Kravets 5073313c33 PyLint fixes 2023-02-02 17:43:38 +02:00
Ivan Kravets b04c1591c2 Use "get_terminal_size().columns" directly 2022-08-03 20:31:56 +03:00
Ivan Kravets 029e66cd06 PyLint fixes 2022-07-02 19:19:48 +03:00
Ivan Kravets b006f53010 PyLint: Fix "useless-object-inheritance" 2022-07-02 19:03:25 +03:00
Ivan Kravets dcc63da2ef Move "check" command to the root 2022-05-31 17:16:55 +03:00
Ivan Kravets 9c7cc87c5f Move command related modules to "commands" package 2019-10-23 16:05:27 +03:00
Ivan Kravets cd2a4ea535 Update copyrights 2019-09-27 17:21:35 +03:00
Ivan Kravets d2abac9b18 Fixed an issue when configuration file options partly ignored when `--project-conf` // Resolve #3034 (#3055)
* Fixed an issue when configuration file options partly ignored when using custom ``--project-conf`` // Resolve #3034

* Py2 compatible makedirs

* Fix circle dependency

* Fix broken import in test examples

* Fix history

* Remove YAPF markers

* PyLint fix

* Fix invalid project conf path

* Move PIO Core to the root on Windows, issue with long CPPPATHs

* Respect global PLATFORMIO_BUILD_CACHE_DIR env var

* Fix Appveyor paths

* Minor changes
2019-09-27 14:13:53 +03:00
Ivan Kravets aa955819b0 Move PIO Check to the root 2019-09-23 23:44:42 +03:00