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: Sat May 18 19:48:27 UTC 2024
Modified Files:
pkgsrc/devel/py-pylint: Makefile distinfo
Log Message:
py-pylint: updated to 3.2.1
What's new in Pylint 3.2.1?
False Positives Fixed
Exclude if/else branches containing terminating functions (e.g. sys.exit()) from possibly-used-before-assignment checks.
Don't emit typevar-name-incorrect-variance warnings for PEP 695 style TypeVars. The variance is inferred automatically by the type checker. Adding _co or _contra suffix can help to reason about
TypeVar.
Fix a false positive for possibly-used-before-assignment when using typing.assert_never() (3.11+) to indicate exhaustiveness.
Other Bug Fixes
Fix a false negative for --ignore-patterns when the directory to be linted is specified using a dot(.) and all files are ignored instead of only the files whose name begin with a dot.
Restore "errors / warnings by module" section to report output (with -ry).
trailing-comma-tuple should now be correctly emitted when it was disabled globally but enabled via local message control, after removal of an over-optimisation.
Add --prefer-stubs=yes option to opt-in to the astroid 3.2 feature that prefers .pyi stubs over same-named .py files. This has the potential to reduce no-member errors but at the cost of more errors
such as not-an-iterable from function bodies appearing as ....
Defaults to no.
Internal Changes
Update astroid version to 3.2.1. This solves some reports of RecursionError and also makes the prefer .pyi stubs feature in astroid 3.2.0 opt-in with the aforementioned --prefer-stubs=y option.
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/devel/py-pylint/Makefile
cvs rdiff -u -r1.82 -r1.83 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.95 pkgsrc/devel/py-pylint/Makefile:1.96
--- pkgsrc/devel/py-pylint/Makefile:1.95 Sat May 18 06:17:34 2024
+++ pkgsrc/devel/py-pylint/Makefile Sat May 18 19:48:27 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.95 2024/05/18 06:17:34 adam Exp $
+# $NetBSD: Makefile,v 1.96 2024/05/18 19:48:27 adam Exp $
-DISTNAME= pylint-3.2.0
+DISTNAME= pylint-3.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylint/}
@@ -12,7 +12,7 @@ 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.2.0:../../devel/py-astroid
+DEPENDS+= ${PYPKGPREFIX}-astroid>=3.2.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.82 pkgsrc/devel/py-pylint/distinfo:1.83
--- pkgsrc/devel/py-pylint/distinfo:1.82 Sat May 18 06:17:34 2024
+++ pkgsrc/devel/py-pylint/distinfo Sat May 18 19:48:27 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.82 2024/05/18 06:17:34 adam Exp $
+$NetBSD: distinfo,v 1.83 2024/05/18 19:48:27 adam Exp $
-BLAKE2s (pylint-3.2.0.tar.gz) = 008d82f7aa2055d917aec7318433522c4edd9a78f12d51c5c8c7d109f35f7f32
-SHA512 (pylint-3.2.0.tar.gz) = ecac2dfaba9379211fab7b71c9a42ee626226c8eef2f5b1f60636be1554ebb0db0e225c5ed341f715385f10711e1b90bfe72656fc7de5a29a63b8fac34ba91d9
-Size (pylint-3.2.0.tar.gz) = 1502407 bytes
+BLAKE2s (pylint-3.2.1.tar.gz) = 2cc39160135fbc2694facab10b75371fff87aa2ee66f1ffece9886bce258fda7
+SHA512 (pylint-3.2.1.tar.gz) = 67493d97f77310d6535c40cd17989ed3bdda350613cb1fe047a6d048b15ebed40d97c3ace181d6ed31c12f4d58daa85017e24a94e42503457b172d5d3747480a
+Size (pylint-3.2.1.tar.gz) = 1504928 bytes
Home |
Main Index |
Thread Index |
Old Index