Path to this page:
Subject: CVS commit: pkgsrc/devel/py-pylint
From: Adam Ciarcinski
Date: 2024-05-18 21:48:27
Message id: 20240518194827.92B3EFA2C@cvs.NetBSD.org
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.
Files: