mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Try to fix handling of undocumented members on Travis
This commit is contained in:
parent
14cf46cdf6
commit
91a792b8d8
@ -266,7 +266,7 @@ class DoxygenParser():
|
||||
signature = elem.find('name').text
|
||||
if signature.endswith('= default'):
|
||||
signature = signature[:-len('= default')]
|
||||
return signature
|
||||
return signature.strip()
|
||||
except:
|
||||
return None
|
||||
|
||||
|
@ -58,7 +58,7 @@ class TestQgsDocCoverage(unittest.TestCase):
|
||||
for cls, props in list(parser.undocumented_members.items()):
|
||||
print(('\n\nClass {}, {}/{} members documented\n'.format(colored(cls, 'yellow'), props['documented'], props['members'])))
|
||||
for mem in props['missing_members']:
|
||||
print((colored(' ' + mem, 'yellow', attrs=['bold'])))
|
||||
print((colored(' "' + mem + '"', 'yellow', attrs=['bold'])))
|
||||
|
||||
# self.assertEquals(len(parser.undocumented_string), 0, 'FAIL: new undocumented members have been introduced, please add documentation for these members')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user