Merge pull request #2016 from PyCQA/document-f842

document F842
This commit is contained in:
anthony sottile 2026-04-05 14:41:53 -04:00 committed by GitHub
commit 813689bf0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`` |
+------+---------------------------------------------------------------------+