Bump pylint from 2.4.4 to 2.9.6
Bumps pylint from 2.4.4 to 2.9.6.
Release notes
Sourced from pylint's releases.
pylint-2.8.1
Add numversion back (temporarily) in
__pkginfo__because it broke Pylama and revert the unnecessarypylint.versionbreaking change.Closes #4399
pylint-2.8.0
New refactoring message
consider-using-with. This message is emitted if resource-allocating functions or methods of the standard library (likeopen()orthreading.Lock.acquire()) that can be used as a context manager are called without awithblock.Closes #3413
Resolve false positives on unused variables in decorator functions
Closes #4252
Add new extension
ConfusingConsecutiveElifChecker. This optional checker emits a refactoring message (R5601confusing-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.Closes #1070
Use a prescriptive message for
unidiomatic-typecheckCloses #3891
Apply
const-naming-styleto module constants annotated withtyping.FinalThe packaging is now done via setuptools exclusively.
doc,tests,man,elispandChangelogare not packaged anymore - reducing the size of the package by 75%.Debian packaging is now (officially) done in https://salsa.debian.org/python-team/packages/pylint.
The 'doc' extra-require has been removed.
__pkginfo__now only contain__version__(also accessible withpylint.__version__), other meta-information are still accessible withimport importlib;metadata.metadata('pylint').COPYING has been renamed to LICENSE for standardization.
Fix false-positive
used-before-assignmentin function returns.Closes #4301
Updated
astroidto 2.5.3
... (truncated)
Changelog
Sourced from pylint's changelog.
What's New in Pylint 2.9.6?
Release date: 2021-07-28
Fix a false positive
undefined-variablewhen variable name in decoration matches function argumentCloses #3791
What's New in Pylint 2.9.5?
Release date: 2021-07-21
Fix a crash when there would be a 'TypeError object does not support item assignment' in the code we parse.
Closes #4439
Fix crash if a callable returning a context manager was assigned to a list or dict item
Closes #4732
Fix a crash when a AttributeInferenceError was not handled properly when failing to infer the real name of an import in astroid.
Closes #4692
What's New in Pylint 2.9.4?
Release date: 2021-07-20
Added
time.clockto deprecated functions/methods for python 3.3Fix bug in which --fail-on can return a zero exit code even when the specified issue is present
Fix hard failure when handling missing attribute in a class with duplicated bases
Closes #4687
Fix false-positive
consider-using-with(R1732) if a ternary conditional is used together withwithCloses #4676
Fix false-positive
deprecated-modulewhen relative import uses deprecated module name.
... (truncated)
Commits
444f654Bump pylint to 2.9.6, update changelogc04f92eImprove Issue forms (#4749)e04de25Update coveralls requirement from ~=3.1 to ~=3.2 (#4747)50b9b53[pre-commit.ci] pre-commit autoupdate (#4752)f17b28eAdd Github issue forms and densify some templates (#4742)a054796Fix false positive undefined variable in decorator with list comprehension (#...31aa6fdMove back to a dev version following 2.9.5 releaseec8219eBump pylint to 2.9.5, update changelogdbfde30[4692 regression] Test won't fail if the real click is installed2e3778e#4692 Add a regression test for inference crash- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)