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