Add missing dunder methods to unexpected-special-method-signature check.
No longer emit no-member in for loops that reference self if the binary operation that
started the for loop uses a self that is encapsulated in tuples or lists.
Updated the position of messages for class and function defintions to no longer cover
the complete definition. Only the def or class + the name of the class/function
are covered.
using-f-string-in-unsupported-version and using-final-decorator-in-unsupported-version msgids
were renamed from W1601 and W1602 to W2601 and W2602. Disabling using these msgids will break.
This is done in order to restore consistency with the already existing msgids for apply-builtin and
basestring-builtin from the now deleted python 3K+ checker. There is now a check that we're not using
existing msgids or symbols from deleted checkers.
The line numbering for messages related to function arguments is now more accurate. This can
require some message disables to be relocated to updated positions.
Add --recursive option to allow recursive discovery of all modules and packages in subtree. Running pylint with
--recursive=y option will check all discovered .py files and packages found inside subtree of directory provided
as parameter to pylint.
Add modified-iterating-list, modified-iterating-dict and modified-iterating-set,
emitted when items are added to or removed from respectively a list, dictionary or
set being iterated through.
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.10.2 to 2.13.0.
Changelog
Sourced from pylint's changelog.
... (truncated)
Commits
fd0eb6c
Bump pylint to 2.13.0, update changelog1c509ed
[cleanup] Remove unused code in pylint.checker.base following refactor1e7d3fa
[refactor] Create a file for the BasicChecker in pylint.checker.basec0b8b32
[refactor] Create a file for the BasicErrorChecker in pylint.checker.base3f11fe6
[refactor] Create a package for the NameChecker in pylint.checker.base6940715
[refactor] Create a file for the DocstringChecker in pylint.checker.base84d22cf
[refactor] Create a file for the PassChecker in pylint.checker.base977b08d
[refactor] Create files for comparison checker in pylint.checker.baseddfca0c
[refactor] Create a file for _BasicChecker in pylint.checkersbe46993
[refactor] Create a package in order to be able to burst base.pyDependabot 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)