Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-02-20 05:57:02 +0300
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-02-20 05:57:02 +0300
commitb691ebcc3e440a678cd28432fed7279fa647e9cd (patch)
treefaa2103fb21a8e51ea0dfe735c43bd4ed1071e13 /tests
parent5694e0ce60316b9cb9709d147e1a699ea9bde6da (diff)
Conform to PEP 257 summary line conventions
Diffstat (limited to 'tests')
-rw-r--r--tests/ext_napoleon_pep526_data_google.py3
-rw-r--r--tests/ext_napoleon_pep526_data_numpy.py3
-rw-r--r--tests/test_config.py3
-rw-r--r--tests/test_ext_autodoc.py6
-rw-r--r--tests/test_ext_autodoc_autoattribute.py6
-rw-r--r--tests/test_ext_autodoc_autoclass.py6
-rw-r--r--tests/test_ext_autodoc_autodata.py6
-rw-r--r--tests/test_ext_autodoc_autofunction.py6
-rw-r--r--tests/test_ext_autodoc_automodule.py6
-rw-r--r--tests/test_ext_autodoc_autoproperty.py6
-rw-r--r--tests/test_intl.py5
11 files changed, 34 insertions, 22 deletions
diff --git a/tests/ext_napoleon_pep526_data_google.py b/tests/ext_napoleon_pep526_data_google.py
index 0a4676d89..e9a00b72c 100644
--- a/tests/ext_napoleon_pep526_data_google.py
+++ b/tests/ext_napoleon_pep526_data_google.py
@@ -1,5 +1,4 @@
-"""
-Test module for napoleon PEP 526 compatibility with google style
+"""Test module for napoleon PEP 526 compatibility with google style
"""
module_level_var: int = 99
diff --git a/tests/ext_napoleon_pep526_data_numpy.py b/tests/ext_napoleon_pep526_data_numpy.py
index a421f53fe..6d31973f5 100644
--- a/tests/ext_napoleon_pep526_data_numpy.py
+++ b/tests/ext_napoleon_pep526_data_numpy.py
@@ -1,5 +1,4 @@
-"""
-Test module for napoleon PEP 526 compatibility with numpy style
+"""Test module for napoleon PEP 526 compatibility with numpy style
"""
module_level_var: int = 99
diff --git a/tests/test_config.py b/tests/test_config.py
index 1e060e24c..48b941b94 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -1,5 +1,4 @@
-"""Test the sphinx.config.Config class and its handling in the
-Application class.
+"""Test the sphinx.config.Config class.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py
index 149d5c890..60eb3b925 100644
--- a/tests/test_ext_autodoc.py
+++ b/tests/test_ext_autodoc.py
@@ -1,5 +1,7 @@
-"""Test the autodoc extension. This tests mainly the Documenters; the auto
-directives are tested in a test source file translated by test_build.
+"""Test the autodoc extension.
+
+This tests mainly the Documenters; the auto directives are tested in a test
+source file translated by test_build.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
diff --git a/tests/test_ext_autodoc_autoattribute.py b/tests/test_ext_autodoc_autoattribute.py
index 560aeed1c..692f06f6d 100644
--- a/tests/test_ext_autodoc_autoattribute.py
+++ b/tests/test_ext_autodoc_autoattribute.py
@@ -1,5 +1,7 @@
-"""Test the autodoc extension. This tests mainly the Documenters; the auto
-directives are tested in a test source file translated by test_build.
+"""Test the autodoc extension.
+
+This tests mainly the Documenters; the auto directives are tested in a test
+source file translated by test_build.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
diff --git a/tests/test_ext_autodoc_autoclass.py b/tests/test_ext_autodoc_autoclass.py
index 0f1d8dba8..064f8136f 100644
--- a/tests/test_ext_autodoc_autoclass.py
+++ b/tests/test_ext_autodoc_autoclass.py
@@ -1,5 +1,7 @@
-"""Test the autodoc extension. This tests mainly the Documenters; the auto
-directives are tested in a test source file translated by test_build.
+"""Test the autodoc extension.
+
+This tests mainly the Documenters; the auto directives are tested in a test
+source file translated by test_build.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
diff --git a/tests/test_ext_autodoc_autodata.py b/tests/test_ext_autodoc_autodata.py
index 7cbd78d4a..709797ff7 100644
--- a/tests/test_ext_autodoc_autodata.py
+++ b/tests/test_ext_autodoc_autodata.py
@@ -1,5 +1,7 @@
-"""Test the autodoc extension. This tests mainly the Documenters; the auto
-directives are tested in a test source file translated by test_build.
+"""Test the autodoc extension.
+
+This tests mainly the Documenters; the auto directives are tested in a test
+source file translated by test_build.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
diff --git a/tests/test_ext_autodoc_autofunction.py b/tests/test_ext_autodoc_autofunction.py
index 61cc7c6db..60b8bf89c 100644
--- a/tests/test_ext_autodoc_autofunction.py
+++ b/tests/test_ext_autodoc_autofunction.py
@@ -1,5 +1,7 @@
-"""Test the autodoc extension. This tests mainly the Documenters; the auto
-directives are tested in a test source file translated by test_build.
+"""Test the autodoc extension.
+
+This tests mainly the Documenters; the auto directives are tested in a test
+source file translated by test_build.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
diff --git a/tests/test_ext_autodoc_automodule.py b/tests/test_ext_autodoc_automodule.py
index 47bd41234..6333ba5c0 100644
--- a/tests/test_ext_autodoc_automodule.py
+++ b/tests/test_ext_autodoc_automodule.py
@@ -1,5 +1,7 @@
-"""Test the autodoc extension. This tests mainly the Documenters; the auto
-directives are tested in a test source file translated by test_build.
+"""Test the autodoc extension.
+
+This tests mainly the Documenters; the auto directives are tested in a test
+source file translated by test_build.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
diff --git a/tests/test_ext_autodoc_autoproperty.py b/tests/test_ext_autodoc_autoproperty.py
index b3f7403ec..765ba30ac 100644
--- a/tests/test_ext_autodoc_autoproperty.py
+++ b/tests/test_ext_autodoc_autoproperty.py
@@ -1,5 +1,7 @@
-"""Test the autodoc extension. This tests mainly the Documenters; the auto
-directives are tested in a test source file translated by test_build.
+"""Test the autodoc extension.
+
+This tests mainly the Documenters; the auto directives are tested in a test
+source file translated by test_build.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
diff --git a/tests/test_intl.py b/tests/test_intl.py
index 83410d555..b125a0d17 100644
--- a/tests/test_intl.py
+++ b/tests/test_intl.py
@@ -1,5 +1,6 @@
-"""Test message patching for internationalization purposes. Runs the text
-builder in the test root.
+"""Test message patching for internationalization purposes.
+
+Runs the text builder in the test root.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.