-
Notifications
You must be signed in to change notification settings - Fork 9
/
.coveragerc
66 lines (47 loc) · 1.35 KB
/
.coveragerc
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[run]
omit =
*__init__*
# mock out test dir
*/test/*
# mock out widgets
*QCodeEditor*
*QColorButton*
*QCustomListWidgets*
*QPreferencesManager*
[report]
# also exclude part of code that contain modal dialog call
exclude_lines =
if __name__ == .__main__.:
pragma: no cover
.exec()_
# suppres includig the app launch into report
def run
#required for dealing with modal QFileDialog
def getPathString
# exclude parts of code from app.core module
def __str__
# exclude parts of code from app.dialogs module
# contain QFileDialog.getOpenFileName
def importXMLdlg_callback
# contain QFileDialog.getSaveFileName
def saveXML_as_callback
# contain QFileDialog.getSaveFileName
def exportIMG_callback
def about_callback
def doc_callback
# exclude parts of code from app.dialogs module
# is called as modal dialog
class QNotImplemented
# is called as modal dialog
class DialogExportLG
# contain QFondDialog
def changeFont_callback
# contain QFileDialog.getOpenFileName
def process_cif_callback
# site selection dlg is modal
def select_all
raise ValueError
# exclude event in mpl_pane
if event.inaxes is None:
# contain QColorDialog
def onColorPicker