forked from KDAB/GammaRay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.krazy
41 lines (32 loc) · 1.29 KB
/
.krazy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
CHECKSETS qt5,c++,foss
#KDAB-specific checks
EXTRA kdabcopyright,kdabcommercial
#additional checks
#EXTRA defines,null
#exclude checks now being done by clazy or clang-tools
EXCLUDE strings,explicit,normalize,passbyvalue,operators,nullstrcompare,nullstrassign,doublequote_chars,qobject,sigsandslots,staticobjects
#exclude more checks
EXCLUDE qminmax,captruefalse
EXCLUDE style
#exclude spelling as codespell is a much, much better tool
EXCLUDE spelling
#coding style settings
STYLE_CPPSTYLE qt
STYLE_OFFSET 4
STYLE_LINEMAX 0
STYLE_CMAKESTYLE_OFFSET 2
#skip over known invalid desktop files
SKIP /plugins/.*/.*\.desktop$
#skip generated cmake
SKIP GammaRayConfig\.cmake\.in
#skip generated qhcp
SKIP .*\.qhcp\.cmake
#no need to check 3rdparty stuff
SKIP /3rdparty/
#nor Nokia's stuff
SKIP /processlist_unix.cpp|/processlist_win.cpp|/processlist.h|/compat/qasconst.h
#if you have a build subdir, skip it
SKIP /build-
SKIP Doxyfile.cmake
#skip the borrowed code in the cmake subdir
SKIP /cmake/Toolchain-QNX|/cmake/KDAB|/cmake/ECM|/cmake/ECMQt4To5Porting.cmake|/cmake/ECMEnableSanitizers.cmake|/cmake/ECMGeneratePriFile.cmake|/cmake/ECMQueryQmake.cmake|/cmake/Toolchain-android.cmake|/cmake/FindWayland.cmake|/cmake/ECMFindModuleHelpers.cmake|/cmake/GammaRayQt4To5Porting.cmake|/cmake/ECMQt5ToQt6Porting.cmake