Skip to content

Commit 5962bbd

Browse files
committed
Add B042 into README
1 parent 55c3bf3 commit 5962bbd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ second usage. Save the result to a list if the result is needed multiple times.
288288

289289
**B041**: Repeated key-value pair in dictionary literal. Only emits errors when the key's value is *also* the same, being the opposite of the pyflakes like check.
290290

291+
**B042**: Remember to call super().__init__() in custom exceptions initalizer.
292+
291293
Opinionated warnings
292294
~~~~~~~~~~~~~~~~~~~~
293295

@@ -475,6 +477,7 @@ Change Log
475477
UNRELEASED
476478
~~~~~~~~~~
477479

480+
* B042: New check for reminding to call super().__init__ in custom exceptions
478481
* flake8-bugbear now requires at least Python 3.9, like flake8>=7.2.0
479482
* B028: Skip if skip_file_prefixes is used (#503)
480483

0 commit comments

Comments
 (0)