diff --git a/sphinx/ext/napoleon/docstring.py b/sphinx/ext/napoleon/docstring.py index c80baecba..a11424537 100644 --- a/sphinx/ext/napoleon/docstring.py +++ b/sphinx/ext/napoleon/docstring.py @@ -1,8 +1,4 @@ -""" - -Classes for docstring parsing and formatting. - -""" +"""Classes for docstring parsing and formatting.""" import collections import inspect diff --git a/sphinx/ext/napoleon/iterators.py b/sphinx/ext/napoleon/iterators.py index bebd56518..9459ad4a6 100644 --- a/sphinx/ext/napoleon/iterators.py +++ b/sphinx/ext/napoleon/iterators.py @@ -1,8 +1,4 @@ -""" - -A collection of helpful iterators. - -""" +"""A collection of helpful iterators.""" import collections from typing import Any, Iterable, Optional diff --git a/tests/test_ext_napoleon.py b/tests/test_ext_napoleon.py index bcc0d6d23..a1b98996f 100644 --- a/tests/test_ext_napoleon.py +++ b/tests/test_ext_napoleon.py @@ -1,6 +1,4 @@ -"""Tests for :mod:`sphinx.ext.napoleon.__init__` module. - -""" +"""Tests for :mod:`sphinx.ext.napoleon.__init__` module.""" import sys from collections import namedtuple diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py index 514276061..ed97b6351 100644 --- a/tests/test_ext_napoleon_docstring.py +++ b/tests/test_ext_napoleon_docstring.py @@ -1,6 +1,4 @@ -"""Tests for :mod:`sphinx.ext.napoleon.docstring` module. - -""" +"""Tests for :mod:`sphinx.ext.napoleon.docstring` module.""" import re import sys diff --git a/tests/test_ext_napoleon_iterators.py b/tests/test_ext_napoleon_iterators.py index e9684521e..6b80af6bf 100644 --- a/tests/test_ext_napoleon_iterators.py +++ b/tests/test_ext_napoleon_iterators.py @@ -1,6 +1,4 @@ -"""Tests for :mod:`sphinx.ext.napoleon.iterators` module. - -""" +"""Tests for :mod:`sphinx.ext.napoleon.iterators` module.""" from unittest import TestCase