-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
pylint-dev/astroid
#858Labels
Bug 🪲False Positive 🦟A message is emitted but nothing is wrong with the codeA message is emitted but nothing is wrong with the codeHelp wanted 🙏Outside help would be appreciated, good for new contributorsOutside help would be appreciated, good for new contributorspython 3.9
Description
Steps to reproduce
class Employee(NamedTuple):
name: str
id: int
Current behavior
E0239: Inheriting 'NamedTuple', which is not a class. (inherit-non-class)
Expected behavior
no error
pylint --version output
$ pylint --version
pylint 2.6.0
astroid 2.4.2
Python 3.9.0rc2+ (heads/3.9:d571924, Oct 5 2020, 11:56:25)
[Clang 9.0.0 (clang-900.0.39.2)]
the-it, apinkney97, pjljvandelaar, ssbarnea, Seanny123 and 13 more
Metadata
Metadata
Assignees
Labels
Bug 🪲False Positive 🦟A message is emitted but nothing is wrong with the codeA message is emitted but nothing is wrong with the codeHelp wanted 🙏Outside help would be appreciated, good for new contributorsOutside help would be appreciated, good for new contributorspython 3.9