From 1d63713a7e96dcc53507ce31c07259099870507c Mon Sep 17 00:00:00 2001 From: Cooper Ry Lees Date: Mon, 15 Jan 2024 15:31:59 -0800 Subject: [PATCH] Fix README.rst syntax to release --- README.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 48e76be..45acc66 100644 --- a/README.rst +++ b/README.rst @@ -197,10 +197,9 @@ second usage. Save the result to a list if the result is needed multiple times. **B036**: Found ``except BaseException:`` without re-raising (no ``raise`` in the top-level of the ``except`` block). This catches all kinds of things (Exception, SystemExit, KeyboardInterrupt...) and may prevent a program from exiting as expected. -**B037**: Found ``return ``, ``yield``, ``yield ``, or ``yield from `` in class ``__init__()`` method. No values should be returned or yielded, only bare ``return``s are ok. +**B037**: Found ``return ``, ``yield``, ``yield ``, or ``yield from `` in class ``__init__()`` method. No values should be returned or yielded, only bare ``return``\s are ok. -**B038**: Found a mutation of a mutable loop iterable inside the loop body. -Changes to the iterable of a loop such as calls to `list.remove()` or via `del` can cause unintended bugs. +**B038**: Found a mutation of a mutable loop iterable inside the loop body. Changes to the iterable of a loop such as calls to `list.remove()` or via `del` can cause unintended bugs. Opinionated warnings ~~~~~~~~~~~~~~~~~~~~