cppcheck 1.3.0__py3-none-win_amd64.whl → 1.4.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cppcheck/Cppcheck/cppcheck.exe +0 -0
- cppcheck/Cppcheck/vcpkg.spdx.json +2 -2
- cppcheck/__init__.py +6 -5
- cppcheck/_version.py +2 -2
- {cppcheck-1.3.0.dist-info → cppcheck-1.4.0.dist-info}/METADATA +1 -1
- {cppcheck-1.3.0.dist-info → cppcheck-1.4.0.dist-info}/RECORD +9 -9
- {cppcheck-1.3.0.dist-info → cppcheck-1.4.0.dist-info}/WHEEL +0 -0
- {cppcheck-1.3.0.dist-info → cppcheck-1.4.0.dist-info}/entry_points.txt +0 -0
- {cppcheck-1.3.0.dist-info → cppcheck-1.4.0.dist-info}/licenses/LICENSE +0 -0
cppcheck/Cppcheck/cppcheck.exe
CHANGED
|
Binary file
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
"spdxVersion": "SPDX-2.2",
|
|
4
4
|
"dataLicense": "CC0-1.0",
|
|
5
5
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
6
|
-
"documentNamespace": "https://spdx.org/spdxdocs/cppcheck-x64-windows-2.16.0-
|
|
6
|
+
"documentNamespace": "https://spdx.org/spdxdocs/cppcheck-x64-windows-2.16.0-bd2d4aef-c98f-4fad-9ed1-3a207629dfe3",
|
|
7
7
|
"name": "cppcheck:x64-windows@2.16.0 58229b872d4d40082902b0103019b3871b8de4245e652f80f9ff51c0aef7fdcf",
|
|
8
8
|
"creationInfo": {
|
|
9
9
|
"creators": [
|
|
10
10
|
"Tool: vcpkg-2024-09-30-ab8988503c7cffabfd440b243a383c0a352a023d"
|
|
11
11
|
],
|
|
12
|
-
"created": "2024-11-
|
|
12
|
+
"created": "2024-11-23T08:49:53Z"
|
|
13
13
|
},
|
|
14
14
|
"relationships": [
|
|
15
15
|
{
|
cppcheck/__init__.py
CHANGED
|
@@ -19,11 +19,12 @@ from importlib_metadata import distribution
|
|
|
19
19
|
|
|
20
20
|
from ._version import version as __version__
|
|
21
21
|
|
|
22
|
-
__all__ = ["__version__", "cppcheck"]
|
|
22
|
+
__all__ = ["__version__", "cppcheck", "get_cppcheck_dir"]
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
@functools.lru_cache(maxsize=None)
|
|
26
|
-
def
|
|
26
|
+
def get_cppcheck_dir() -> Path:
|
|
27
|
+
"""Cppcheck binary directory"""
|
|
27
28
|
package_files = distribution(__package__).files
|
|
28
29
|
assert package_files is not None, f"There must exist {__package__} files"
|
|
29
30
|
for file in package_files:
|
|
@@ -36,13 +37,13 @@ def _get_cppcheck() -> Path:
|
|
|
36
37
|
|
|
37
38
|
|
|
38
39
|
def _program(name: str, args: Iterable[str]) -> int:
|
|
39
|
-
return subprocess.call([
|
|
40
|
+
return subprocess.call([get_cppcheck_dir() / name, *args], close_fds=False)
|
|
40
41
|
|
|
41
42
|
|
|
42
43
|
def _program_exit(name: str, *args: str) -> None:
|
|
43
44
|
if sys.platform.startswith("win"):
|
|
44
45
|
raise SystemExit(_program(name, args))
|
|
45
|
-
cppcheck_exe =
|
|
46
|
+
cppcheck_exe = get_cppcheck_dir() / name
|
|
46
47
|
os.execl(cppcheck_exe, cppcheck_exe, *args)
|
|
47
48
|
|
|
48
49
|
|
|
@@ -57,7 +58,7 @@ def cppcheck() -> None:
|
|
|
57
58
|
args, _ = parser.parse_known_args()
|
|
58
59
|
if args.version:
|
|
59
60
|
result = subprocess.run(
|
|
60
|
-
[
|
|
61
|
+
[get_cppcheck_dir() / "cppcheck", "--version"],
|
|
61
62
|
capture_output=True,
|
|
62
63
|
text=True,
|
|
63
64
|
check=False,
|
cppcheck/_version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
cppcheck/__init__.py,sha256=
|
|
1
|
+
cppcheck/__init__.py,sha256=k5II7G2wm24XdbZt2PWkUTTVBJBGRKsUOyr8_LT7Ym0,2087
|
|
2
2
|
cppcheck/__main__.py,sha256=b2nPqzlMlT6n1P5J25EB0Z_DVZdTtf9dU2vLX6TmbKg,174
|
|
3
|
-
cppcheck/_version.py,sha256=
|
|
3
|
+
cppcheck/_version.py,sha256=xx3ps0_8APnVy6-DQ1uP_k9d4XWw3LXARxx3OAo1gKM,427
|
|
4
4
|
cppcheck/_version.pyi,sha256=j5kbzfm6lOn8BzASXWjGIA1yT0OlHTWqlbyZ8Si_o0E,118
|
|
5
5
|
cppcheck/Cppcheck/addons/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
cppcheck/Cppcheck/addons/cppcheck.py,sha256=JLTgGefNozDj4Ft_yBtL1qJS4ePm5PKGetuDeJgi1s0,1060
|
|
@@ -65,7 +65,7 @@ cppcheck/Cppcheck/cfg/wxwidgets.cfg,sha256=VzO1nM-W-AGta47i5c0RSb4R6FIAwDehShhq_
|
|
|
65
65
|
cppcheck/Cppcheck/cfg/zephyr.cfg,sha256=nfSStBzzkDUb9yIICx_RpwCACZpNQvUsDth9XfdiiVk,2743
|
|
66
66
|
cppcheck/Cppcheck/cfg/zlib.cfg,sha256=fLFka-eoEFjQw7_qm2H07nCraf-p1TuBSosUWYGCD3g,38503
|
|
67
67
|
cppcheck/Cppcheck/copyright,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
|
|
68
|
-
cppcheck/Cppcheck/cppcheck.exe,sha256=
|
|
68
|
+
cppcheck/Cppcheck/cppcheck.exe,sha256=oCyULM4ZCQtcHNKjzQW9yqv5JZUbuvICeABbV3e_Kg0,4546048
|
|
69
69
|
cppcheck/Cppcheck/platforms/aix_ppc64.xml,sha256=PtGPgqryvVWlGjwIFtS13pmDQit0AL0tWsbxIypvc_E,388
|
|
70
70
|
cppcheck/Cppcheck/platforms/arm32-wchar_t2.xml,sha256=CYxLI-WjkmJfyMWwpZd7Waju4llr8JBgwBSMphCphMc,388
|
|
71
71
|
cppcheck/Cppcheck/platforms/arm32-wchar_t4.xml,sha256=t8xpR-papuHpgwXKDrd_C_Rgxx0NsnVxbnWzEgWEqos,388
|
|
@@ -81,11 +81,11 @@ cppcheck/Cppcheck/platforms/pic8-enhanced.xml,sha256=llg5fwjDnpRopVGvpx5k3zIVGpm
|
|
|
81
81
|
cppcheck/Cppcheck/platforms/pic8.xml,sha256=QLLIuxUK-RtzA0F-n56CQOgm-8kJaouLLTyWEPS0_7U,388
|
|
82
82
|
cppcheck/Cppcheck/platforms/unix32-unsigned.xml,sha256=EMuagGO9aTEvVcxLPn07Hil88JyEdmC8XPxpYQhQ0_Q,389
|
|
83
83
|
cppcheck/Cppcheck/platforms/unix64-unsigned.xml,sha256=3RHEe1R0cAthikziH14ZksVM9q1eQI3Ab-SYyXBPDsQ,389
|
|
84
|
-
cppcheck/Cppcheck/vcpkg.spdx.json,sha256=
|
|
84
|
+
cppcheck/Cppcheck/vcpkg.spdx.json,sha256=TQ7eWTqUAm5zjg0w8LjuKptGVVNTAdVl0I5CmQkfskg,3592
|
|
85
85
|
cppcheck/Cppcheck/vcpkg_abi_info.txt,sha256=WCKbhy1NQAgpArAQMBmzhxuN5CReZS-A-f9RwK73_c8,1259
|
|
86
86
|
cppcheck/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
87
|
-
cppcheck-1.
|
|
88
|
-
cppcheck-1.
|
|
89
|
-
cppcheck-1.
|
|
90
|
-
cppcheck-1.
|
|
91
|
-
cppcheck-1.
|
|
87
|
+
cppcheck-1.4.0.dist-info/METADATA,sha256=JFCZK4onimkKeaoZga9kRfIJjg06oXfvr1DI3mKer7o,4380
|
|
88
|
+
cppcheck-1.4.0.dist-info/WHEEL,sha256=EShulKv4epvXf2hxJKX50LEbDeR3f4CaySDu_eXD8pg,103
|
|
89
|
+
cppcheck-1.4.0.dist-info/entry_points.txt,sha256=IMI2I7Xa-fhiGeZM_q5lSU__akOUACl-FEXbrL7xFa8,48
|
|
90
|
+
cppcheck-1.4.0.dist-info/licenses/LICENSE,sha256=BoJ5aZc9951Napcx0AIKMzhogOHkRs2NeAK0EjQ_78w,11327
|
|
91
|
+
cppcheck-1.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|