New refactoring message consider-using-with. This message is emitted if resource-allocating functions or methods of the
standard library (like open() or threading.Lock.acquire()) that can be used as a context manager are called without
a with block.
Add new extension ConfusingConsecutiveElifChecker. This optional checker emits a refactoring message (R5601 confusing-consecutive-elif)
if if/elif statements with different indentation levels follow directly one after the other.
New option --output=<file> to output result to a file rather than printing to stdout.
Apply const-naming-style to module constants annotated with
typing.Final
The packaging is now done via setuptools exclusively. doc, tests, man, elisp and Changelog are
not packaged anymore - reducing the size of the package by 75%.
__pkginfo__ now only contain __version__ (also accessible with pylint.__version__), other meta-information are still
accessible with import importlib;metadata.metadata('pylint').
COPYING has been renamed to LICENSE for standardization.
Fix false-positive used-before-assignment in function returns.
pylint does not crash with a traceback anymore when a file is problematic. It
creates a template text file for opening an issue on the bug tracker instead.
The linting can go on for other non problematic files instead of being impossible.
pyreverse: Show class has-a relationships inferred from the type-hint
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pylint from 2.4.2 to 2.10.2.
Release notes
Sourced from pylint's releases.
... (truncated)
Changelog
Sourced from pylint's changelog.
... (truncated)
Commits
591a23a
Bump pylint to 2.10.2, update changelogd9dc89c
Fix a crash from astroid.InferenceError raised on copy.copy5150d89
Updated mypy checks (#4889)a3daf44
Require platformdirs 2.2.0 (#4890)ad97338
Migrate fromappdirs
toplatformdirs
(#4887)ba00fb2
Bump pylint to 2.10.2-dev0, update changelogbf33282
Bump pylint to 2.10.1, update changelogd701a97
pylint does not crash when PYLINT_HOME does not exist (#4884)bbc4f66
Move back to a dev version following 2.10.0 releaseea448b8
Bump pylint to 2.10.0, update changelogDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)