mario
mario copied to clipboard
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.version
breaking 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 awith
block.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-typecheck
Closes #3891
Apply
const-naming-style
to module constants annotated withtyping.Final
The packaging is now done via setuptools exclusively.
doc
,tests
,man
,elisp
andChangelog
are 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-assignment
in function returns.Closes #4301
Updated
astroid
to 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-variable
when 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.clock
to 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 withwith
Closes #4676
Fix false-positive
deprecated-module
when relative import uses deprecated module name.
... (truncated)
Commits
444f654
Bump pylint to 2.9.6, update changelogc04f92e
Improve Issue forms (#4749)e04de25
Update coveralls requirement from ~=3.1 to ~=3.2 (#4747)50b9b53
[pre-commit.ci] pre-commit autoupdate (#4752)f17b28e
Add Github issue forms and densify some templates (#4742)a054796
Fix false positive undefined variable in decorator with list comprehension (#...31aa6fd
Move back to a dev version following 2.9.5 releaseec8219e
Bump 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
.
If all status checks pass Dependabot will automatically merge this pull request.
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) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will 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)