pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pylint



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jun  7 06:44:02 UTC 2018

Modified Files:
        pkgsrc/devel/py-pylint: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/py-pylint/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-pylint/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-pylint/Makefile
diff -u pkgsrc/devel/py-pylint/Makefile:1.25 pkgsrc/devel/py-pylint/Makefile:1.26
--- pkgsrc/devel/py-pylint/Makefile:1.25        Thu May 17 10:35:32 2018
+++ pkgsrc/devel/py-pylint/Makefile     Thu Jun  7 06:44:02 2018
@@ -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/}

Index: pkgsrc/devel/py-pylint/distinfo
diff -u pkgsrc/devel/py-pylint/distinfo:1.14 pkgsrc/devel/py-pylint/distinfo:1.15
--- pkgsrc/devel/py-pylint/distinfo:1.14        Thu May 17 10:35:32 2018
+++ pkgsrc/devel/py-pylint/distinfo     Thu Jun  7 06:44:02 2018
@@ -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