From 07a5676b2181ecaf3be8fceec63b4350b445aa07 Mon Sep 17 00:00:00 2001 From: Cooper Lees Date: Thu, 31 Oct 2024 11:06:01 -0700 Subject: [PATCH] Add scentence really explaining B041 --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 4ff43dd..8b0a443 100644 --- a/README.rst +++ b/README.rst @@ -205,7 +205,7 @@ second usage. Save the result to a list if the result is needed multiple times. **B040**: Caught exception with call to ``add_note`` not used. Did you forget to ``raise`` it? -**B041**: Repeated key-value pair in dictionary literal. +**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. Opinionated warnings ~~~~~~~~~~~~~~~~~~~~