From 6b8bccec5977f608f0b1e33f31a4888a2ea0d141 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sat, 19 Feb 2022 22:44:45 +0000 Subject: Remove module titles in docstrings --- tests/test_pycode_parser.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/test_pycode_parser.py') diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py index 11e47a86b..264636907 100644 --- a/tests/test_pycode_parser.py +++ b/tests/test_pycode_parser.py @@ -1,7 +1,4 @@ """ - test_pycode_parser - ~~~~~~~~~~~~~~~~~~ - Test pycode.parser. :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. -- cgit v1.2.1 From 4f5a3269a6053fe659093096d9b635a2c8e7e55e Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 20 Feb 2022 00:06:24 +0000 Subject: Fix module docstring first line --- tests/test_pycode_parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/test_pycode_parser.py') diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py index 264636907..c1456a0a6 100644 --- a/tests/test_pycode_parser.py +++ b/tests/test_pycode_parser.py @@ -1,5 +1,4 @@ -""" - Test pycode.parser. +"""Test pycode.parser. :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. -- cgit v1.2.1 From 5694e0ce60316b9cb9709d147e1a699ea9bde6da Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 20 Feb 2022 00:23:29 +0000 Subject: Fix module docstring indentation --- tests/test_pycode_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_pycode_parser.py') diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py index c1456a0a6..3ad1486da 100644 --- a/tests/test_pycode_parser.py +++ b/tests/test_pycode_parser.py @@ -1,7 +1,7 @@ """Test pycode.parser. - :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. - :license: BSD, see LICENSE for details. +:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. +:license: BSD, see LICENSE for details. """ from sphinx.pycode.parser import Parser -- cgit v1.2.1 From 6bb7b891a16fbcd5fad1f88fb472505549b9c084 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 20 Feb 2022 02:59:02 +0000 Subject: Remove copyright and licence fields --- tests/test_pycode_parser.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/test_pycode_parser.py') diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py index 3ad1486da..cebcb97a3 100644 --- a/tests/test_pycode_parser.py +++ b/tests/test_pycode_parser.py @@ -1,7 +1,4 @@ """Test pycode.parser. - -:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. -:license: BSD, see LICENSE for details. """ from sphinx.pycode.parser import Parser -- cgit v1.2.1 From 5775912455c25ee82734e1ff319a32f55946d79b Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 20 Feb 2022 03:05:56 +0000 Subject: Collapse single line docstrings --- tests/test_pycode_parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/test_pycode_parser.py') diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py index cebcb97a3..5d2496ba5 100644 --- a/tests/test_pycode_parser.py +++ b/tests/test_pycode_parser.py @@ -1,5 +1,4 @@ -"""Test pycode.parser. -""" +"""Test pycode.parser.""" from sphinx.pycode.parser import Parser from sphinx.util.inspect import signature_from_str -- cgit v1.2.1