Skip to content

Commit b328f91

Browse files
pabs3Michael Howitz
authored andcommitted
Wrap long lines in RST files
Also wrap longish lines where that helps readability. Suggested-by: doc8
1 parent 3dc2ebd commit b328f91

3 files changed

Lines changed: 18 additions & 14 deletions

File tree

CHANGES.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ Changelog
1313
Features
1414
++++++++
1515

16-
- Allow to use a ``str`` as condition for ``@pytest.mark.flaky(condition)``
17-
which gets evaluated dynamically similarly to ``@pytest.mark.skipif(condition)``.
16+
- Allow to use a ``str`` as condition for
17+
``@pytest.mark.flaky(condition)``
18+
which gets evaluated dynamically similarly to
19+
``@pytest.mark.skipif(condition)``.
1820
(`#162 <https://github.com/pytest-dev/pytest-rerunfailures/pull/162>`_
1921
provided by `@15klli <https://github.com/15klli>`_)
2022

@@ -199,11 +201,11 @@ Bug fixes
199201
4.2 (2018-10-04)
200202
----------------
201203

202-
- Fixed #64 issue related to ``setup_class`` and ``fixture`` executions on rerun (Thanks to
203-
`@OlegKuzovkov`_ for the PR).
204+
- Fixed #64 issue related to ``setup_class`` and ``fixture`` executions on
205+
rerun (Thanks to `@OlegKuzovkov`_ for the PR).
204206

205-
- Added new ``execution_count`` attribute to reflect the number of test case executions according to #67 issue.
206-
(Thanks to `@OlegKuzovkov`_ for the PR).
207+
- Added new ``execution_count`` attribute to reflect the number of test case
208+
executions according to #67 issue. (Thanks to `@OlegKuzovkov`_ for the PR).
207209

208210
.. _@OlegKuzovkov: https://github.com/OlegKuzovkov
209211

CONTRIBUTING.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contribution getting started
33
============================
44

5-
Contributions are highly welcomed and appreciated. Every little bit of help counts,
6-
so do not hesitate!
5+
Contributions are highly welcomed and appreciated.
6+
Every little bit of help counts, so do not hesitate!
77

88
.. contents::
99
:depth: 2
@@ -37,4 +37,5 @@ Preparing Pull Requests
3737

3838
#. Follow **PEP-8** for naming and `black <https://github.com/psf/black>`_ for formatting.
3939

40-
#. Add a line item to the current **unreleased** version in ``CHANGES.rst``, unless the change is trivial.
40+
#. Add a line item to the current **unreleased** version in ``CHANGES.rst``,
41+
unless the change is trivial.

README.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ Re-run all failures matching certain expressions
5959
------------------------------------------------
6060

6161
To re-run only those failures that match a certain list of expressions, use the
62-
``--only-rerun`` flag and pass it a regular expression. For example, the following would
63-
only rerun those errors that match ``AssertionError``:
62+
``--only-rerun`` flag and pass it a regular expression. For example,
63+
the following would only rerun those errors that match ``AssertionError``:
6464

6565
.. code-block:: bash
6666
6767
$ pytest --reruns 5 --only-rerun AssertionError
6868
69-
Passing the flag multiple times accumulates the arguments, so the following would only rerun
70-
those errors that match ``AssertionError`` or ``ValueError``:
69+
Passing the flag multiple times accumulates the arguments, so the following
70+
would only rerun those errors that match ``AssertionError`` or ``ValueError``:
7171

7272
.. code-block:: bash
7373
@@ -166,7 +166,8 @@ Resources
166166
Development
167167
-----------
168168

169-
* Test execution count can be retrieved from the ``execution_count`` attribute in test ``item``'s object. Example:
169+
* Test execution count can be retrieved from the ``execution_count`` attribute
170+
in test ``item``'s object. Example:
170171

171172
.. code-block:: python
172173

0 commit comments

Comments
 (0)