We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0b15d8b commit a19cb94Copy full SHA for a19cb94
tests/src/python/test_qgsdoccoverage.py
@@ -32,7 +32,7 @@
32
# DON'T RAISE THIS THRESHOLD!!!
33
# (changes which lower this threshold are welcomed though!)
34
35
-ACCEPTABLE_MISSING_DOCS = 4229
+ACCEPTABLE_MISSING_DOCS = 4066
36
37
38
def elemIsDocumentableClass(elem):
@@ -94,6 +94,21 @@ def elemIsDocumentableMember(elem):
94
except:
95
pass
96
97
+ #ignore on_* slots
98
+ try:
99
+ if name.text.startswith('on_'):
100
+ return False
101
+ except:
102
+ pass
103
+
104
+ #ignore deprecated members
105
+ typeelem = elem.find('type')
106
107
+ if typeelem.text and 'Q_DECL_DEPRECATED' in typeelem.text:
108
109
110
111
112
return True
113
114
0 commit comments