blob: 2090d03ac1116cb7fb7e1a372d5597fa9c0f03b3 (
plain)
1
2
3
4
5
6
7
|
Add new ``prefer-typing-namedtuple`` message to the ``CodeStyleChecker`` to suggest
rewriting calls to ``collections.namedtuple`` as classes inheriting from ``typing.NamedTuple``
on Python 3.6+.
Requires ``load-plugins=pylint.extensions.code_style`` and ``enable=prefer-typing-namedtuple`` to be raised.
Closes #8660
|