Merge "Fix check_jobs_documented linter"
This commit is contained in:
commit
25bcca1083
@ -132,10 +132,11 @@ r = Roles()
|
|||||||
d = Docs()
|
d = Docs()
|
||||||
|
|
||||||
ret = 0
|
ret = 0
|
||||||
for role in r.roles:
|
if not d.autoroles:
|
||||||
if role not in d.roles:
|
for role in r.roles:
|
||||||
print("Role %s not included in document tree" % (role,))
|
if role not in d.roles:
|
||||||
ret = 1
|
print("Role %s not included in document tree" % (role,))
|
||||||
|
ret = 1
|
||||||
for job in [x['name'] for x in z.layout.jobs]:
|
for job in [x['name'] for x in z.layout.jobs]:
|
||||||
if job not in d.jobs:
|
if job not in d.jobs:
|
||||||
print("Job %s not included in document tree" % (job,))
|
print("Job %s not included in document tree" % (job,))
|
||||||
|
Loading…
Reference in New Issue
Block a user