From f1be063bf33a82a68dbfd534a9d13d22223b9817 Mon Sep 17 00:00:00 2001 From: mtx Date: Wed, 24 Dec 2025 23:30:28 +0800 Subject: [PATCH] fix: allow-long-titles incorrectly skipping non-title lines --- src/doc8/checks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/doc8/checks.py b/src/doc8/checks.py index 2b6870f..0cb2dd3 100644 --- a/src/doc8/checks.py +++ b/src/doc8/checks.py @@ -279,7 +279,6 @@ def any_types(nodes, types): title_types = ( docutils_nodes.title, docutils_nodes.subtitle, - docutils_nodes.section, ) for i, line in enumerate(lines): if len(line) > self._max_line_length: