Skip to content

Commit

Permalink
Fix README.rst syntax to release
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlees committed Jan 15, 2024
1 parent 1cc695d commit 1d63713
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.rst
Expand Up @@ -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 <value>``, ``yield``, ``yield <value>``, or ``yield from <value>`` in class ``__init__()`` method. No values should be returned or yielded, only bare ``return``s are ok.
**B037**: Found ``return <value>``, ``yield``, ``yield <value>``, or ``yield from <value>`` 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
~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 1d63713

Please sign in to comment.