Commit Graph

10 Commits

Author SHA1 Message Date
wmayer
85e536394d Base: fix bugprone reserved identifier 2023-11-20 20:30:15 +01:00
wmayer
39337ea12e fix bugprone-*
* bugprone-throw-keyword-missing
* bugprone-unhandled-self-assignment
* bugprone-suspicious-string-compare
* bugprone-reserved-identifier
* bugprone-narrowing-conversions
* bugprone-macro-parentheses
* bugprone-implicit-widening-of-multiplication-result
* bugprone-exception-escape
* bugprone-copy-constructor-init
2023-11-16 01:22:09 +01:00
wmayer
51e1dda8d4 Clang-tidy: enable check google-explicit-constructor
Currently this check isn't enabled but when pushing a PR then the lint checker warns about non-explicit constructors which is
a bit annoying because the PR must be updated to fix the warning or in most cases it won't be fixed at all.

By enabling this check the developer already sees the warning before pushing a PR.
2023-10-04 18:09:58 -05:00
Chris Hennes
7410fe6110 Clang-Tidy: Remove readability-qualified-auto 2023-04-03 17:11:19 +02:00
wmayer
a62da05d5c clang-tidy: disable 'readability-redundant-access-specifiers' because clang-tidy fails to distinguish between 'public' vs. 'public Q_SLOTS' 2022-11-13 16:50:15 +01:00
berniev
fe9daff383 disable nodiscard 2022-09-09 07:32:41 +02:00
wmayer
55866fd622 Clang: [skip ci] set minimum name length to 2 2022-09-02 13:42:42 +02:00
wmayer
b74148fdd0 Clang-tidy: [skip ci] set value of parameter readability-implicit-bool-conversion.AllowPointerConditions to true
Forum discussion: https://forum.freecadweb.org/viewtopic.php?f=10&t=71355
2022-08-24 11:15:06 +02:00
wmayer
3e9c2ff155 clang-tidy: [skip ci] Disable modernize-use-trailing-return-type 2022-08-02 12:12:58 +02:00
Floriansimmer
4662503d42 Ci v2 (#7282)
* Github: Build and Test

Build and Test:
- ccache
- build
- Unittest
- install
- Unittest of install
- report

misc:
- use .clang-tidy file to configure Clang-tidy checks
- use use .pylintrc to configure Pylint checks
- Update changed-files Action
- better regex for file extension filter
- show enabled clang-tidy checks in Step Report
- show enabled Pylint Checks
- cpplint filter documentation
- modified cpplint filters recomended by https://github.com/sider/runners/blob/HEAD/images/cpplint/sider_recommended_CPPLINT.cfg
- fixed Branch filter for Clazy QT6 checks --> has only worked on pull requests
- fail the CI only on Build  errors, Unittest errors and misspellings

* Github: remove Codespell action as it is now integrated into the check workflow
2022-07-30 22:29:29 +02:00