mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
fix(docCoverage): brief description may be empty
This commit is contained in:
parent
6dc8aae9d1
commit
d257cb6b37
@ -337,7 +337,11 @@ class DoxygenParser:
|
||||
}
|
||||
)
|
||||
|
||||
if not brief_description[0].isupper() and not brief_description[0].isnumeric():
|
||||
if (
|
||||
brief_description
|
||||
and not brief_description[0].isupper()
|
||||
and not brief_description[0].isnumeric()
|
||||
):
|
||||
noncompliant_members.append(
|
||||
{
|
||||
"Brief description": f"Brief '{brief_description}' is not sentence case, starting with a capital letter. Ensure briefs are a full sentence."
|
||||
|
Loading…
x
Reference in New Issue
Block a user