cppcheck 1.1.2__tar.gz → 1.3.0__tar.gz

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.
Files changed (82) hide show
  1. {cppcheck-1.1.2 → cppcheck-1.3.0}/.github/workflows/cd.yml +24 -55
  2. {cppcheck-1.1.2 → cppcheck-1.3.0}/.vscode/settings.json +0 -6
  3. {cppcheck-1.1.2 → cppcheck-1.3.0}/PKG-INFO +1 -1
  4. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/ports/cppcheck/portfile.cmake +1 -0
  5. {cppcheck-1.1.2 → cppcheck-1.3.0}/src/cppcheck/_version.py +2 -2
  6. {cppcheck-1.1.2 → cppcheck-1.3.0}/.clang-format +0 -0
  7. {cppcheck-1.1.2 → cppcheck-1.3.0}/.clang-tidy +0 -0
  8. {cppcheck-1.1.2 → cppcheck-1.3.0}/.copier-answers.yml +0 -0
  9. {cppcheck-1.1.2 → cppcheck-1.3.0}/.cppcheck-suppressions.txt +0 -0
  10. {cppcheck-1.1.2 → cppcheck-1.3.0}/.devcontainer/devcontainer.json +0 -0
  11. {cppcheck-1.1.2 → cppcheck-1.3.0}/.editorconfig +0 -0
  12. {cppcheck-1.1.2 → cppcheck-1.3.0}/.gitattributes +0 -0
  13. {cppcheck-1.1.2 → cppcheck-1.3.0}/.github/codecov.yml +0 -0
  14. {cppcheck-1.1.2 → cppcheck-1.3.0}/.github/codeql-config.yml +0 -0
  15. {cppcheck-1.1.2 → cppcheck-1.3.0}/.github/matchers/pylint.json +0 -0
  16. {cppcheck-1.1.2 → cppcheck-1.3.0}/.github/workflows/ci.yml +0 -0
  17. {cppcheck-1.1.2 → cppcheck-1.3.0}/.github/workflows/codeql.yml +0 -0
  18. {cppcheck-1.1.2 → cppcheck-1.3.0}/.github/workflows/renovate.yml +0 -0
  19. {cppcheck-1.1.2 → cppcheck-1.3.0}/.github/workflows/semantic-release.yml +0 -0
  20. {cppcheck-1.1.2 → cppcheck-1.3.0}/.gitignore +0 -0
  21. {cppcheck-1.1.2 → cppcheck-1.3.0}/.markdownlint.yaml +0 -0
  22. {cppcheck-1.1.2 → cppcheck-1.3.0}/.pre-commit-config.yaml +0 -0
  23. {cppcheck-1.1.2 → cppcheck-1.3.0}/.releaserc.js +0 -0
  24. {cppcheck-1.1.2 → cppcheck-1.3.0}/.renovaterc.json +0 -0
  25. {cppcheck-1.1.2 → cppcheck-1.3.0}/.vscode/launch.json +0 -0
  26. {cppcheck-1.1.2 → cppcheck-1.3.0}/CMakeLists.txt +0 -0
  27. {cppcheck-1.1.2 → cppcheck-1.3.0}/CMakePresets.json +0 -0
  28. {cppcheck-1.1.2 → cppcheck-1.3.0}/LICENSE +0 -0
  29. {cppcheck-1.1.2 → cppcheck-1.3.0}/README.md +0 -0
  30. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/ConfigureWarningsAndHardening.cmake +0 -0
  31. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/arch/x64.json +0 -0
  32. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/base.json +0 -0
  33. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/compilers/gcc.json +0 -0
  34. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/compilers/llvm.json +0 -0
  35. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/compilers/mingw.json +0 -0
  36. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/compilers/msvc.json +0 -0
  37. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/default.json +0 -0
  38. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/generators/ninja.json +0 -0
  39. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/os/darwin.json +0 -0
  40. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/os/linux.json +0 -0
  41. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/os/windows.json +0 -0
  42. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/toolchains/vcpkg.json +0 -0
  43. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/triplets/x64-linux.json +0 -0
  44. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/triplets/x64-mingw-dynamic.json +0 -0
  45. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/triplets/x64-mingw-static.json +0 -0
  46. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/triplets/x64-osx.json +0 -0
  47. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/triplets/x64-windows.json +0 -0
  48. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/x64-linux-gcc.json +0 -0
  49. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/x64-linux-llvm.json +0 -0
  50. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/x64-mingw-dynamic-windows-mingw.json +0 -0
  51. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/x64-mingw-static-windows-mingw.json +0 -0
  52. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/x64-osx-gcc.json +0 -0
  53. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/x64-osx-llvm.json +0 -0
  54. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/x64-windows-llvm.json +0 -0
  55. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/presets/x64-windows-msvc.json +0 -0
  56. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/bootstrap/vcpkg-config.cmake +0 -0
  57. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +0 -0
  58. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/bootstrap/vcpkg_chainload_toolchain.cmake +0 -0
  59. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/bootstrap/vcpkg_configure.cmake +0 -0
  60. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/bootstrap/vcpkg_export_mode.cmake +0 -0
  61. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/bootstrap/vcpkg_load_triplet.cmake +0 -0
  62. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake +0 -0
  63. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/ports/README.md +0 -0
  64. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/ports/cppcheck/vcpkg.json +0 -0
  65. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/ports/python3/portfile.cmake +0 -0
  66. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/ports/python3/vcpkg.json +0 -0
  67. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/scripts/build_type.cmake +0 -0
  68. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/scripts/toolchains/README.md +0 -0
  69. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/triplets/README.md +0 -0
  70. {cppcheck-1.1.2 → cppcheck-1.3.0}/cmake/vcpkg/vcpkg.toolchain.cmake +0 -0
  71. {cppcheck-1.1.2 → cppcheck-1.3.0}/docs/api/index.md +0 -0
  72. {cppcheck-1.1.2 → cppcheck-1.3.0}/docs/conf.py +0 -0
  73. {cppcheck-1.1.2 → cppcheck-1.3.0}/docs/index.md +0 -0
  74. {cppcheck-1.1.2 → cppcheck-1.3.0}/noxfile.py +0 -0
  75. {cppcheck-1.1.2 → cppcheck-1.3.0}/pyproject.toml +0 -0
  76. {cppcheck-1.1.2 → cppcheck-1.3.0}/src/CMakeLists.txt +0 -0
  77. {cppcheck-1.1.2 → cppcheck-1.3.0}/src/cppcheck/__init__.py +0 -0
  78. {cppcheck-1.1.2 → cppcheck-1.3.0}/src/cppcheck/__main__.py +0 -0
  79. {cppcheck-1.1.2 → cppcheck-1.3.0}/src/cppcheck/_version.pyi +0 -0
  80. {cppcheck-1.1.2 → cppcheck-1.3.0}/src/cppcheck/py.typed +0 -0
  81. {cppcheck-1.1.2 → cppcheck-1.3.0}/tests/test_package.py +0 -0
  82. {cppcheck-1.1.2 → cppcheck-1.3.0}/vcpkg.json +0 -0
@@ -31,57 +31,40 @@ jobs:
31
31
  path: dist/*.tar.gz
32
32
 
33
33
  build_wheels:
34
- name: Build ${{ matrix.platform }}-${{ matrix.arch }} wheels on ${{ matrix.os }}
34
+ name: Build ${{ matrix.build }}-${{ matrix.arch }} wheels on ${{ matrix.os }}
35
35
  runs-on: ${{ matrix.os }}
36
36
 
37
37
  strategy:
38
38
  matrix:
39
- # emulated linux: generate 6 matrix combinations with qemu on ubuntu:
40
- arch: [aarch64, ppc64le, s390x]
41
- platform: [manylinux, musllinux]
39
+ arch: [aarch64, ppc64le, s390x, x86_64, i686]
40
+ build: [manylinux, musllinux]
42
41
  os: [ubuntu-latest]
43
- emulation: [qemu]
44
- exclude:
45
- # conditionally skip jobs requiring emulation:
46
- - os: ubuntu-latest
47
- emulation: ''
42
+ use_qemu: [aarch64 ppc64le s390x]
48
43
  include:
49
- # linux
50
- - os: ubuntu-latest
51
- platform: manylinux
52
- arch: x86_64
53
- - os: ubuntu-latest
54
- platform: manylinux
55
- arch: i686
56
- - os: ubuntu-latest
57
- platform: musllinux
58
- arch: x86_64
59
- - os: ubuntu-latest
60
- platform: musllinux
61
- arch: i686
62
- # windows
63
44
  - os: windows-2019
64
- platform: win
65
45
  arch: AMD64
46
+ build: win
66
47
  - os: windows-2019
67
- platform: win
68
48
  arch: x86
69
- # macos
49
+ build: win
50
+ - os: windows-2022
51
+ arch: ARM64
52
+ build: win
70
53
  - os: macos-13
71
- platform: macos
72
54
  arch: x86_64
55
+ build: macos
73
56
  - os: macos-latest
74
- platform: macos
75
57
  arch: arm64
58
+ build: macos
59
+ - os: ubuntu-latest
60
+ arch: armv7l
61
+ build: musllinux
62
+ use_qemu: armv7l
76
63
  steps:
77
64
  - uses: actions/checkout@v4
78
65
  with:
79
66
  fetch-depth: 0
80
67
 
81
- - name: Support long paths on Windows
82
- if: runner.os == 'Windows'
83
- run: git config --system core.longpaths true
84
-
85
68
  - name: Set up msvc on Windows
86
69
  if: runner.os == 'Windows'
87
70
  uses: ilammy/msvc-dev-cmd@v1
@@ -90,46 +73,32 @@ jobs:
90
73
 
91
74
  - name: Set up QEMU
92
75
  uses: docker/setup-qemu-action@v3.2.0
93
- if: runner.os == 'Linux' && matrix.emulation == 'qemu'
76
+ if: runner.os == 'Linux' && contains(matrix.use_qemu, matrix.arch)
94
77
 
95
78
  - name: Check architecture and set environment variable
96
79
  if: runner.os == 'Linux'
97
80
  run: |
98
81
  echo "Checking architecture..."
99
- if [[ ${{ matrix.arch }} == 'aarch64' ||
100
- ${{ matrix.arch }} == 'ppc64le' ||
101
- ${{ matrix.arch }} == 's390x' ]]; then
102
- echo "Setting CIBW_ENVIRONMENT to 1"
82
+ if [[ ${{ matrix.arch }} == "aarch64" ||
83
+ ${{ matrix.arch }} == "ppc64le" ||
84
+ ${{ matrix.arch }} == "s390x" ||
85
+ ${{ matrix.arch }} == *"arm"* ]]; then
86
+ echo "Set VCPKG_FORCE_SYSTEM_BINARIES=1"
103
87
  echo "CIBW_ENVIRONMENT=VCPKG_FORCE_SYSTEM_BINARIES=1" >> $GITHUB_ENV
104
88
  fi
105
89
 
106
90
  - name: Build wheels
107
- uses: pypa/cibuildwheel@v2.20
91
+ uses: pypa/cibuildwheel@v2.21.3
108
92
  env:
109
93
  CIBW_ARCHS: ${{ matrix.arch }}
110
- # restrict to a single Python version as wheel does not depend on Python:
111
- CIBW_BUILD: cp311-${{ matrix.platform }}*
94
+ CIBW_BUILD: cp311-${{ matrix.build }}*
112
95
 
113
96
  - name: Upload wheels
114
97
  uses: actions/upload-artifact@v4
115
98
  with:
116
- name: cibw-${{ runner.os }}-${{ matrix.platform }}-${{ matrix.arch }}
99
+ name: cibw-${{ runner.os }}-${{ matrix.build }}-${{ matrix.arch }}
117
100
  path: wheelhouse/*.whl
118
101
 
119
-
120
- check_dist:
121
- name: Check dist
122
- needs: [build_wheels, build_sdist]
123
- runs-on: ubuntu-22.04
124
- steps:
125
- - uses: actions/download-artifact@v4
126
- with:
127
- pattern: cibw-*
128
- path: dist
129
- merge-multiple: true
130
-
131
- - run: pipx run twine check --strict dist/*
132
-
133
102
  upload_all:
134
103
  needs: [build_wheels, build_sdist]
135
104
  environment: pypi
@@ -4,12 +4,6 @@
4
4
  "python.testing.pytestEnabled": true,
5
5
  "cmake.useCMakePresets": "always",
6
6
  "cmake.options.statusBarVisibility": "compact",
7
- "files.exclude": {
8
- "**/.clangd/**": true
9
- },
10
- "files.watcherExclude": {
11
- "**/.clangd/**": true
12
- },
13
7
  "files.associations": {
14
8
  "iosfwd": "cpp",
15
9
  "type_traits": "cpp",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cppcheck
3
- Version: 1.1.2
3
+ Version: 1.3.0
4
4
  Summary: Package cppcheck as a python wheel.
5
5
  Author-Email: msclock <msclock@126.com>
6
6
  License: Apache-2.0
@@ -31,6 +31,7 @@ vcpkg_check_features(
31
31
  vcpkg_cmake_configure(
32
32
  SOURCE_PATH "${SOURCE_PATH}"
33
33
  OPTIONS
34
+ -DDISABLE_DMAKE=ON
34
35
  ${FEATURE_OPTIONS}
35
36
  )
36
37
 
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.1.2'
16
- __version_tuple__ = version_tuple = (1, 1, 2)
15
+ __version__ = version = '1.3.0'
16
+ __version_tuple__ = version_tuple = (1, 3, 0)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes