Skip to content

Commit 065f344

Browse files
committed
update clang-tidy to only enable most important checks
1 parent aaa92bf commit 065f344

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.clang-tidy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Checks: >
2+
clang-analyzer-*
3+
bugprone-*
4+
performance-unnecessary-*
5+
modernize-use-nullptr
6+
modernize-use-nodiscard

.github/workflows/build-linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
style: '' # we don't want check from clang-format
4747
lines-changed-only: 'true' # Only lines in the diff that contain additions are analyzed. Avoid noise from existing code.
4848
thread-comments: 'update'
49+
tidy-checks: '' # rely solely on .clang-tidy file
4950
tidy-review: true
5051
passive-reviews: true
5152
ignore: 'bezier|boost|SingleApplication|spdlog|zernike|moc_*|ui_*|qwt*'

0 commit comments

Comments
 (0)