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 ~~~~~~~~~~~~~~~~~~~~