diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-05-16 08:25:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 14:25:25 +0200 |
commit | 60daec60011d0b3a6be52c9410d1d7ef0179349d (patch) | |
tree | 5bb1d73eb9f8af22ba731a0a64f7bf8f10ba562c /doc/whatsnew | |
parent | d7baf5d43fa8de68c4c169f731ae5af43ce60790 (diff) | |
download | pylint-git-main.tar.gz |
Closes #8660
Diffstat (limited to 'doc/whatsnew')
-rw-r--r-- | doc/whatsnew/fragments/8660.extension | 7 |
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 |