Skip to content

Commit 3e38319

Browse files
committed
fix(lint-style.py): do not barf on new copyright exceptions (#15833)
1 parent 74ee7bb commit 3e38319

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/lint-style.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
path = ROOT_DIR / filename
6262
if errno == "ERR_MOD":
6363
exceptions += [(ERR_MOD, path, None)]
64-
elif errno in ["ERR_LIN", "ERR_ADN", "ERR_NUM_LIN"]:
64+
elif errno in ["ERR_COP", "ERR_LIN", "ERR_ADN", "ERR_NUM_LIN"]:
6565
pass # maintained by the Lean style linter now
6666
else:
6767
print(f"Error: unexpected errno in style-exceptions.txt: {errno}")

0 commit comments

Comments
 (0)