pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pylint py-pylint: updated to 2.15.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a12be0affd37
branches:  trunk
changeset: 388445:a12be0affd37
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Nov 20 17:52:22 2022 +0000

description:
py-pylint: updated to 2.15.6

What's new in Pylint 2.15.6?

False Positives Fixed

Fix false positive for unhashable-member when subclassing dict and using the subclass as a dictionary key.
unnecessary-list-index-lookup will not be wrongly emitted if enumerate is called with start.
Don't warn about stop-iteration-return when using next() over itertools.cycle.

Other Bug Fixes

Messages sent to reporter are now copied so a reporter cannot modify the message sent to other reporters.
Fixes edge case of custom method named next raised an astroid error.
Fix crash that happened when parsing files with unexpected encoding starting with 'utf' like utf13.
Fix a crash when a child class with an __init__ method inherits from a parent class with an __init__ class attribute.

diffstat:

 devel/py-pylint/Makefile |  9 +++++----
 devel/py-pylint/distinfo |  8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r b6f684edbabb -r a12be0affd37 devel/py-pylint/Makefile
--- a/devel/py-pylint/Makefile  Sun Nov 20 17:50:20 2022 +0000
+++ b/devel/py-pylint/Makefile  Sun Nov 20 17:52:22 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2022/10/25 09:29:24 adam Exp $
+# $NetBSD: Makefile,v 1.73 2022/11/20 17:52:22 adam Exp $
 
-DISTNAME=      pylint-2.15.5
+DISTNAME=      pylint-2.15.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylint/}
@@ -17,8 +17,6 @@
 DEPENDS+=      ${PYPKGPREFIX}-mccabe>=0.6:../../devel/py-mccabe
 DEPENDS+=      ${PYPKGPREFIX}-platformdirs>=2.2.0:../../misc/py-platformdirs
 DEPENDS+=      ${PYPKGPREFIX}-tomlkit>=0.10.1:../../textproc/py-tomlkit
-# ${_PYTHON_VERSION} < 311
-DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
 
 USE_LANGUAGES= # none
 
@@ -28,6 +26,9 @@
 .if ${_PYTHON_VERSION} < 310
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.10.0:../../devel/py-typing-extensions
 .endif
+.if ${_PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
+.endif
 
 post-install:
 .for file in epylint pylint pylint-config pyreverse symilar
diff -r b6f684edbabb -r a12be0affd37 devel/py-pylint/distinfo
--- a/devel/py-pylint/distinfo  Sun Nov 20 17:50:20 2022 +0000
+++ b/devel/py-pylint/distinfo  Sun Nov 20 17:52:22 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.61 2022/10/25 09:29:24 adam Exp $
+$NetBSD: distinfo,v 1.62 2022/11/20 17:52:22 adam Exp $
 
-BLAKE2s (pylint-2.15.5.tar.gz) = b175bb524420cbd48d2474b91f633cd835bfb06318bc27a7d8d0c4afa0f1a684
-SHA512 (pylint-2.15.5.tar.gz) = f6b2905ef66af783210edd6ca8f8fcbf0670ff18107a95f9f9e340b00993712d911e36001de9b8765c414508beb4fb7d2bdb29a62fe6c31dcae52a23d29b8d61
-Size (pylint-2.15.5.tar.gz) = 410128 bytes
+BLAKE2s (pylint-2.15.6.tar.gz) = d3c4f28ad9f2ac5705d5f44901cb1292b1a4891fdb4ce245d08c987f6c08d279
+SHA512 (pylint-2.15.6.tar.gz) = 510d3790f1d86d46aac79fdcc4957ab07d0a67deb4c6453a3a83180aabdfe46eaf3410afb5d59b4a99501d4e3a606d42c1633d058c623babe873c3c215a09682
+Size (pylint-2.15.6.tar.gz) = 410675 bytes



Home | Main Index | Thread Index | Old Index