mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #36485 -- Corrected docs linter to detect too-long lines at file end.
This commit is contained in:
@@ -96,7 +96,7 @@ def check_line_too_long_django(file, lines, options=None):
|
||||
continue
|
||||
except IndexError:
|
||||
# End of file
|
||||
continue
|
||||
pass
|
||||
if len(set(line.strip())) == 1 and len(line) == len(lines[lno - 1]):
|
||||
continue # Ignore heading underline
|
||||
if lno in table_rows:
|
||||
|
||||
Reference in New Issue
Block a user