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 1.9.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/fb250541492c
branches: trunk
changeset: 309022:fb250541492c
user: adam <adam%pkgsrc.org@localhost>
date: Thu Jun 07 06:44:02 2018 +0000
description:
py-pylint: updated to 1.9.2
Pylint 1.9.2:
* Fix `KeyError` raised when using docparams and NotImplementedError is documented.
* Don't include excepthandlers that don't have a name when looking for exception-escape
* Rewrite the comprehension-escape and exception-escape to work only on the corresponding nodes
These two checks were implemented in terms of visit_namne, that is, for every name in the tree,
we looked to see if that name leaked. This was resulting in a couple of false positives
and also in a performance issue, since we were calling nodes_of_class() and scope() for each
name node. Instead, this approach uses the visit methods for exception and comprehension nodes
and looks to see from there if the current scope uses leaked names.
This is not the ideal situation as well, ideal would be to have access to the definition
frame of each name, but that requires some extra engineering effort in astroid to get it right.
* builtins is allowed to redefine builtins.
diffstat:
devel/py-pylint/Makefile | 4 ++--
devel/py-pylint/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 2fc4240e9d9d -r fb250541492c devel/py-pylint/Makefile
--- a/devel/py-pylint/Makefile Thu Jun 07 06:33:54 2018 +0000
+++ b/devel/py-pylint/Makefile Thu Jun 07 06:44:02 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2018/05/17 10:35:32 adam Exp $
+# $NetBSD: Makefile,v 1.26 2018/06/07 06:44:02 adam Exp $
-DISTNAME= pylint-1.9.1
+DISTNAME= pylint-1.9.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylint/}
diff -r 2fc4240e9d9d -r fb250541492c devel/py-pylint/distinfo
--- a/devel/py-pylint/distinfo Thu Jun 07 06:33:54 2018 +0000
+++ b/devel/py-pylint/distinfo Thu Jun 07 06:44:02 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2018/05/17 10:35:32 adam Exp $
+$NetBSD: distinfo,v 1.15 2018/06/07 06:44:02 adam Exp $
-SHA1 (pylint-1.9.1.tar.gz) = 819d3d179c1bfbe36b769ab63b58b5113f9848ab
-RMD160 (pylint-1.9.1.tar.gz) = fe7a678300730f4a8b00ad3f70f9d3fa49ff91d8
-SHA512 (pylint-1.9.1.tar.gz) = f9e2aac0e4dbd98b4204bcb69d1705a60da6c67ad40d6106074d69ab5959b059037c226b54c90ffaacd31788375844c5e7fd0487d4afaa80cb07a2166ca756a6
-Size (pylint-1.9.1.tar.gz) = 534926 bytes
+SHA1 (pylint-1.9.2.tar.gz) = 6ac673ad4d57c19decf8a58721571f98a340b188
+RMD160 (pylint-1.9.2.tar.gz) = 9b682e1380ad5eea89fa6ffbc3fc61548ac52f20
+SHA512 (pylint-1.9.2.tar.gz) = c920d54626d145541e435a0b5a7a2182eb4b3ec1c45c3317a178e0cc500c384aef4de730cc23c8ad7bf3d8c64f413f131b6166e26d5885543d437fd9c696f2be
+Size (pylint-1.9.2.tar.gz) = 516869 bytes
Home |
Main Index |
Thread Index |
Old Index