From a21309f952938500d9ea845a3e8113d3f73e7df1 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Sun, 18 May 2014 21:48:55 -0700 Subject: [PATCH] Add subtitle and section to title skipping --- doc8/checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc8/checks.py b/doc8/checks.py index 224a181..6f4734d 100644 --- a/doc8/checks.py +++ b/doc8/checks.py @@ -193,6 +193,8 @@ class CheckMaxLineLength(ContentCheck): ) title_types = ( docutils_nodes.title, + docutils_nodes.subtitle, + docutils_nodes.section, ) max_line_length = self._cfg['max_line_length'] allow_long_titles = self._cfg['allow_long_titles']