@@ -3088,12 +3088,6 @@ def all_log_format_ids(self):
3088
3088
3089
3089
return ids
3090
3090
3091
- def LoggerDocumentation_greylist(self):
3092
- '''returns a set of messages should should be documented but
3093
- are currently known as undocumented'''
3094
- return set([
3095
- ])
3096
-
3097
3091
def LoggerDocumentation_whitelist(self):
3098
3092
'''returns a set of messages which we do not want to see
3099
3093
documentation for'''
@@ -3192,7 +3186,6 @@ def LoggerDocumentation(self):
3192
3186
tree = objectify.fromstring(xml)
3193
3187
3194
3188
whitelist = self.LoggerDocumentation_whitelist()
3195
- greylist = self.LoggerDocumentation_greylist()
3196
3189
3197
3190
docco_ids = {}
3198
3191
for thing in tree.logformat:
@@ -3219,9 +3212,6 @@ def LoggerDocumentation(self):
3219
3212
overdocumented = set()
3220
3213
for name in sorted(code_ids.keys()):
3221
3214
if name not in docco_ids:
3222
- if name in greylist:
3223
- self.progress(f"{name} should be documented but isn't")
3224
- continue
3225
3215
if name not in whitelist:
3226
3216
undocumented.add(name)
3227
3217
continue
@@ -3272,11 +3262,6 @@ def LoggerDocumentation(self):
3272
3262
if len(missing) > 0:
3273
3263
raise NotAchievedException("Documented messages (%s) not in code" % missing)
3274
3264
3275
- # ensure things in the whitelist are not documented:
3276
- for g in greylist:
3277
- if g in docco_ids:
3278
- raise NotAchievedException(f"greylisted ({g}) is actually documented")
3279
-
3280
3265
def initialise_after_reboot_sitl(self):
3281
3266
3282
3267
# after reboot stream-rates may be zero. Request streams.
0 commit comments