summaryrefslogtreecommitdiff
path: root/doc/whatsnew/fragments/8496.false_positive
diff options
context:
space:
mode:
Diffstat (limited to 'doc/whatsnew/fragments/8496.false_positive')
-rw-r--r--doc/whatsnew/fragments/8496.false_positive5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/whatsnew/fragments/8496.false_positive b/doc/whatsnew/fragments/8496.false_positive
new file mode 100644
index 000000000..3ea0fca6c
--- /dev/null
+++ b/doc/whatsnew/fragments/8496.false_positive
@@ -0,0 +1,5 @@
+``unnecessary-lambda`` no longer warns on lambdas which use its parameters in
+their body (other than the final arguments), e.g.
+``lambda foo: (bar if foo else baz)(foo)``.
+
+Closes #8496