Qual(ci): Update pre-commit hooks, caching - #4579
Conversation
27c481a to
c939682
Compare
|
FYI, the notices that are remaining: |
|
I will provide the necessary changes |
|
The checks can already be enabled in the master branch because I've added suppressions to #4494 so that the github actions does not show a failure. This PR that re-enables these cases in the reports can then be updated with updates from the master branch until all notices are fixed (and this PR can be used to verify it). |
|
PR #4581 is a bug fix proposal. |
c939682 to
b962ed2
Compare
b962ed2 to
32a6686
Compare
12dc56c to
33c2cfa
Compare
33c2cfa to
8d19d00
Compare
|
can you solve the problem at Thanks |
8d19d00 to
b4a1aa5
Compare
|
I rebased and the notices below remain. The followiing could be resolved using a comma operator (
These need code review/fixes:
|
|
we need to repair, step by step untill we get info from cppcheck. |
cc94ba0 to
c4d7d5e
Compare
c4d7d5e to
026cba0
Compare
|
I fixed a cppcheck notice in md5.cpp (argument can be constant). A new notice was introduced due to changes, probably #4612 (@PoeticPete ). And I added a definition of "UNCRUSTIFY_VERSION" as an argument to cppcheck to avoid a notice I encountered locally. |
gmaurel
left a comment
There was a problem hiding this comment.
Do not make any change at the file [.pre-commit-config.yaml
I am working on it, I need about 10 days until I am ready.
Thanks
This PR is mainly to verify rhe results of cppcheck. |
|
Sorry for the noise! |
777ec40 to
c0bd130
Compare
Don't worry, I took it as a notice to not make too many changes to the pre-commit configuration as you are making more in-depth changes). I prefer that. |
|
Result of local execution: |
c0bd130 to
2784a13
Compare
20bcc43 to
eae2dc4
Compare
9b1a792 to
4505c20
Compare
4505c20 to
f25359e
Compare
c205e5e to
b33efee
Compare
540a9d7 to
237f532
Compare
|
FYI: I've submitted a PR to fix the cppcheck caching issue with the pre-commit hook. |
|
I have finished all the necessary changes. May I close your call? |
237f532 to
7caf67c
Compare
* **Cppcheck Upgrade:** Updated cppcheck to the latest version (2.21.1) * **Cache Management:** Refined cache keys to explicitly incorporate the Cppcheck version * **Hooks:** Updated beautysh and codespell
7caf67c to
8ccf8b8
Compare
|
@gmaurel I've updated the description of this PR, and squashed my commits. I am waiting for a PR for the cppcheck hook fixing caching to be accepted in that hook's release. We could temporarily point the hook to my fork of pre-commit-hooks. The other updates here are the upgrade of some of the other pre-commit hook versions and the update of cppcheck to the latest version which brings some new cases: Messages like the follwoing are related to the caching limitation of the current cppcheck hook: |
Qual(ci): Update pre-commit hooks, caching