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:           Tue Dec 12 17:17:00 UTC 2023

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

Log Message:
py-pylint: updated to 3.0.3

What's new in Pylint 3.0.3?

False Positives Fixed

Fixed false positive for unnecessary-lambda when the call has keyword arguments but not the lambda.

Fixed incorrect suggestion for shallow copy in unnecessary-comprehension

Example of the suggestion:
#pylint: disable=missing-module-docstring
a = [1, 2, 3]
b = [x for x in a]
b[0] = 0
print(a) # [1, 2, 3]

After changing b = [x for x in a] to b = a based on the suggestion, the script now prints [0, 2, 3]. The correct suggestion should be use list(a) to preserve the original behavior.

Fix false positives for undefined-variable and unused-argument for
classes and functions using Python 3.12 generic type syntax.

Fixed pointless-string-statement false positive for docstrings
on Python 3.12 type aliases.

Fix false positive for invalid-exception-operation when concatenating tuples
of exception types.

Other Bug Fixes

Fix a bug where pylint was unable to walk recursively through a directory if the
directory has an __init__.py file.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 pkgsrc/devel/py-pylint/Makefile
cvs rdiff -u -r1.77 -r1.78 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.90 pkgsrc/devel/py-pylint/Makefile:1.91
--- pkgsrc/devel/py-pylint/Makefile:1.90        Sat Oct 28 19:57:05 2023
+++ pkgsrc/devel/py-pylint/Makefile     Tue Dec 12 17:17:00 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.90 2023/10/28 19:57:05 wiz Exp $
+# $NetBSD: Makefile,v 1.91 2023/12/12 17:17:00 adam Exp $
 
-DISTNAME=      pylint-3.0.2
+DISTNAME=      pylint-3.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylint/}
 
@@ -11,8 +10,9 @@ HOMEPAGE=     https://www.pylint.org/
 COMMENT=       Python source code analyzer
 LICENSE=       gnu-gpl-v2
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=66.1:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.37.1:../../devel/py-wheel
-DEPENDS+=      ${PYPKGPREFIX}-astroid>=3.0.0:../../devel/py-astroid
+DEPENDS+=      ${PYPKGPREFIX}-astroid>=3.0.1:../../devel/py-astroid
 DEPENDS+=      ${PYPKGPREFIX}-dill>=0.3.7:../../textproc/py-dill
 DEPENDS+=      ${PYPKGPREFIX}-isort>=4.2.5:../../devel/py-isort
 DEPENDS+=      ${PYPKGPREFIX}-mccabe>=0.6:../../devel/py-mccabe

Index: pkgsrc/devel/py-pylint/distinfo
diff -u pkgsrc/devel/py-pylint/distinfo:1.77 pkgsrc/devel/py-pylint/distinfo:1.78
--- pkgsrc/devel/py-pylint/distinfo:1.77        Tue Oct 24 04:34:33 2023
+++ pkgsrc/devel/py-pylint/distinfo     Tue Dec 12 17:17:00 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.77 2023/10/24 04:34:33 adam Exp $
+$NetBSD: distinfo,v 1.78 2023/12/12 17:17:00 adam Exp $
 
-BLAKE2s (pylint-3.0.2.tar.gz) = 18b35ec3213664f896d3960a00f5171353e17e6a61913a145e576c8c69dbbaa7
-SHA512 (pylint-3.0.2.tar.gz) = 9205b220f2659d83b178d0e5d1f1357317391cc0d17179232cb670aa1964164119247f1c85f00210e154563774bae370bc84d9db0c8aa0b1592f4a40b2b6f0f0
-Size (pylint-3.0.2.tar.gz) = 441751 bytes
+BLAKE2s (pylint-3.0.3.tar.gz) = 9e75901e82d6712e8577e3891a578a6ad79e7f2ed39bc6e933d75d1486eeaad9
+SHA512 (pylint-3.0.3.tar.gz) = ca81da91f1e368d6b119f9e9f4251a385a86b03ec6f919ba55ba05ddc2d892402244ed6cde5790b2333e62b167c1eadf9bfa047115cf7d08800ca6de2c15e25f
+Size (pylint-3.0.3.tar.gz) = 441807 bytes



Home | Main Index | Thread Index | Old Index