summaryrefslogtreecommitdiff
path: root/doc/whatsnew/fragments/8660.extension
diff options
context:
space:
mode:
Diffstat (limited to 'doc/whatsnew/fragments/8660.extension')
-rw-r--r--doc/whatsnew/fragments/8660.extension7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/whatsnew/fragments/8660.extension b/doc/whatsnew/fragments/8660.extension
new file mode 100644
index 000000000..2090d03ac
--- /dev/null
+++ b/doc/whatsnew/fragments/8660.extension
@@ -0,0 +1,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