The python3 porting mode checker and it's py3k option were removed. You can still find it in older pylint
versions.
raising-bad-type is now properly emitted when raising a string
Added new extension SetMembershipChecker with use-set-for-membership check:
Emitted when using an in-place defined list or tuple to do a membership test. sets are better optimized for that.
Added py-version config key (if [MASTER] section). Used for version dependant checks.
Will default to whatever Python version pylint is executed with.
CodeStyleChecker
Added consider-using-assignment-expr: Emitted when an assignment is directly followed by an if statement
and both can be combined by using an assignment expression :=. Requires Python 3.8
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.11.1.
Changelog
Sourced from pylint's changelog.
... (truncated)
Commits
d98e6e8
Bump pylint to 2.11.1, update changelog6d07d6f
Add typing forjson_reporter
and sub-classesf45ab49
Fixunspecified-encoding
forPath()
67957e2
Move back to a dev version following 2.11.0 release7add5d0
Bump pylint to 2.11.0, update changelog0d246e5
Add typing tofilepath
(#4980)dc0c7e9
Add typing inpylint.reporters
(#5004)14f4db5
Move methods toBaseLayout
(#5015)d4e61b9
Move PyreverseConfig to pylint.testutil (#5013)22e56c0
Add typing to all calls toself.stats
(#4973)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)