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.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f7b940f72f6
branches:  trunk
changeset: 385244:0f7b940f72f6
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 12 08:29:12 2022 +0000

description:
py-pylint: updated to 2.15.2

What's new in Pylint 2.15.2?

Fixed a case where custom plugins specified by command line could silently fail.
Specifically, if a plugin relies on the init-hook option changing sys.path before it can be imported, this will now emit a bad-plugin-value message. Before this change, it would silently fail to 
register the plugin for use, but would load any configuration, which could have unintended effects.
Fix used-before-assignment for functions/classes defined in type checking guard.
Update modified_iterating checker to fix a crash with for loops on empty list.
The docparams extension now considers typing in Numpy style docstrings as "documentation" for the missing-param-doc message.
Fix false positive for unused-variable and unused-import when a name is only used in a string literal type annotation.
Fix false positive for too-many-function-args when a function call is assigned to a class attribute inside the class where the function is defined.
Fix used-before-assignment for functions/classes defined in type checking guard.
Fix ignored files being linted when passed on stdin.
missing-return-doc, missing-raises-doc and missing-yields-doc now respect the no-docstring-rgx option.
Don't crash on OSError in config file discovery.
disable-next is now correctly scoped to only the succeeding line.
Update modified_iterating checker to fix a crash with for loops on empty list.

diffstat:

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

diffs (25 lines):

diff -r 05b0f609141d -r 0f7b940f72f6 devel/py-pylint/Makefile
--- a/devel/py-pylint/Makefile  Mon Sep 12 08:27:19 2022 +0000
+++ b/devel/py-pylint/Makefile  Mon Sep 12 08:29:12 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.68 2022/09/01 20:25:30 wiz Exp $
+# $NetBSD: Makefile,v 1.69 2022/09/12 08:29:12 adam Exp $
 
-DISTNAME=      pylint-2.15.0
+DISTNAME=      pylint-2.15.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylint/}
diff -r 05b0f609141d -r 0f7b940f72f6 devel/py-pylint/distinfo
--- a/devel/py-pylint/distinfo  Mon Sep 12 08:27:19 2022 +0000
+++ b/devel/py-pylint/distinfo  Mon Sep 12 08:29:12 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.57 2022/08/30 10:01:18 adam Exp $
+$NetBSD: distinfo,v 1.58 2022/09/12 08:29:12 adam Exp $
 
-BLAKE2s (pylint-2.15.0.tar.gz) = d62759c16608d1b3f3cabc2824a53d40b3e044180740b8230388ec5c5e99ecf2
-SHA512 (pylint-2.15.0.tar.gz) = 5f1ae2d805f2c8987cf894dc2d6e8119d77863ba81e043dfe86629f74e96be0080a1457c20edb1d33621ae47a8dc85f32c62b33b54bf77622f14be86024a094b
-Size (pylint-2.15.0.tar.gz) = 407302 bytes
+BLAKE2s (pylint-2.15.2.tar.gz) = 0734ef02181e7275e18f8a8b5a224d32e9cfaf9679565f83d6c55d00162c4b6b
+SHA512 (pylint-2.15.2.tar.gz) = a0b1b2d65ecd7e101cce149a7b99b6f95614e00729ef091de4faf29370ae533749a9e0995d282ad178bb780b1563f55de00ccd5b69dabf779e11f857371d7df5
+Size (pylint-2.15.2.tar.gz) = 408845 bytes



Home | Main Index | Thread Index | Old Index