addons/namingng.py: Backward compatibility with addons/naming.py#5846
addons/namingng.py: Backward compatibility with addons/naming.py#5846mvds00 wants to merge 1 commit into
Conversation
a64fdc2 to
87bfe78
Compare
|
Note that the failing check is due to the issue fixed by #5847 |
these errors does not look related to #5847 https://github.com/danmar/cppcheck/actions/runs/7427881828/job/20227959060?pr=5846 |
You are right. The suppressions don't work anymore because the error id Or maybe you could first answer the bigger question: what do you think about this naming/namingng development, and which direction would you like it to go? What behaviors/interfaces are important to keep and what can we safely change? |
…ng.py. Merging naming.py into namingng.py reduces redundant code and leverages argument validation and the unit tests for namingng.py, with the aim to improve maintainability. naming.py supported RE_CONST to check constants, which is now a feature of namingng.py as well; the unit test is expanded to cover the feature. naming.py has been updated to call through to namingng.py. Suppressions are updated to suppres the new namingng error id [naming-namingConvention]. The unit tests for naming.py are kept as-is.
Not all issues were solved with suppressions. I've been trying to make |
|
This PR will become part of #5852 |
In case
naming.pycannot be simply removed, due to it being in active use, this PR suggests a path forward, mergingnamingng.pyandnaming.py, with little risk.A next step could be to drop
namingng.pyands/namingng/naming/gthroughout the project.