in lean/scripts/lint_style.py [0:0]
def reserved_notation_check(lines, path):
if path.resolve() == RESERVED_NOTATION:
return []
errors = []
for line_nr, line in skip_string(skip_comments(enumerate(lines, 1))):
if line.startswith('reserve') or line.startswith('precedence'):
errors += [(ERR_RNT, line_nr, path)]
return errors