-
Notifications
You must be signed in to change notification settings - Fork 284
/
.krazy
44 lines (37 loc) · 1.26 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
42
43
44
CHECKSETS qt5,c++,foss
#KDAB-specific checks
EXTRA kdabcopyright-reuse,kdabcontactus,fosslicense-reuse
#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,inline,postfixop,dpointer,constref,emptystrcompare
#exclude more checks (was for ancient Qt4)
EXCLUDE qminmax,captruefalse
#exclude spelling as codespell is a much, much better tool
EXCLUDE spelling
#exclude other checks done by pre-commit
EXCLUDE endswithnewline,filenames
#coding style settings
EXCLUDE style
STYLE_CPPSTYLE qt
STYLE_OFFSET 4
STYLE_LINEMAX 0
STYLE_CMAKESTYLE_OFFSET 2
#skip over known invalid desktop files
SKIP /plugins/.*/.*\.desktop$
#no need to check 3rdparty stuff
SKIP /3rdparty/
#nor Digia'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 CMake files
SKIP /GammaRayConfig\.cmake\.in
SKIP .*\.qhcp\.cmake
SKIP Doxyfile.cmake
SKIP \.cmake-format\.py
SKIP cmake/gammaray.rc.cmake
#skip the borrowed code in the cmake subdir
SKIP /cmake/ECM/|/cmake/KDAB/
#skip the borrowed code in the cmake subdir
SKIP /cmake/Toolchain-QNX