From 3113fc3ed63e4f19b6dbba687c310e9fabb6741a Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Sun, 5 Apr 2026 14:42:35 -0400 Subject: [PATCH] document F842 --- docs/source/user/error-codes.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/user/error-codes.rst b/docs/source/user/error-codes.rst index c8b46c1..c8b35cd 100644 --- a/docs/source/user/error-codes.rst +++ b/docs/source/user/error-codes.rst @@ -111,6 +111,8 @@ generates its own :term:`error code`\ s for ``pyflakes``: +------+---------------------------------------------------------------------+ | F841 | local variable ``name`` is assigned to but never used | +------+---------------------------------------------------------------------+ +| F842 | local variable ``name`` is annotated but never used | ++------+---------------------------------------------------------------------+ +------+---------------------------------------------------------------------+ | F901 | ``raise NotImplemented`` should be ``raise NotImplementedError`` | +------+---------------------------------------------------------------------+