summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-08-29 17:35:50 -0400
committerGitHub <noreply@github.com>2025-08-29 17:35:50 -0400
commita627194567b3af2ef74bd89e404868932ff755b3 (patch)
treeb497ea8aa1f073c17bef8dbcafd9a2d387ca3467 /docs
parentbb7a7701b1a0e8fffe14dcebf5d5bac7f176c02a (diff)
Refs #36485 -- Corrected docs linter to detect too-long lines at file end.
Diffstat (limited to 'docs')
-rw-r--r--docs/lint.py2
-rw-r--r--docs/releases/1.8.11.txt3
-rw-r--r--docs/releases/1.9.4.txt3
3 files changed, 5 insertions, 3 deletions
diff --git a/docs/lint.py b/docs/lint.py
index 2358fec78e..bff7b5fe6a 100644
--- a/docs/lint.py
+++ b/docs/lint.py
@@ -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:
diff --git a/docs/releases/1.8.11.txt b/docs/releases/1.8.11.txt
index f33149b9e7..78849f70c5 100644
--- a/docs/releases/1.8.11.txt
+++ b/docs/releases/1.8.11.txt
@@ -5,4 +5,5 @@ Django 1.8.11 release notes
*March 5, 2016*
Django 1.8.11 fixes a regression on Python 2 in the 1.8.10 security release
-where ``utils.http.is_safe_url()`` crashes on bytestring URLs (:ticket:`26308`).
+where ``utils.http.is_safe_url()`` crashes on bytestring URLs
+(:ticket:`26308`).
diff --git a/docs/releases/1.9.4.txt b/docs/releases/1.9.4.txt
index 36e4ea329a..92749eb8aa 100644
--- a/docs/releases/1.9.4.txt
+++ b/docs/releases/1.9.4.txt
@@ -5,4 +5,5 @@ Django 1.9.4 release notes
*March 5, 2016*
Django 1.9.4 fixes a regression on Python 2 in the 1.9.3 security release
-where ``utils.http.is_safe_url()`` crashes on bytestring URLs (:ticket:`26308`).
+where ``utils.http.is_safe_url()`` crashes on bytestring URLs
+(:ticket:`26308`).