PyCQA/pylint
### [`v2.14.1`](https://togithub.com/PyCQA/pylint/releases/tag/v2.14.1)
[Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.14.0...v2.14.1)
- Avoid reporting `unnecessary-dict-index-lookup` or `unnecessary-list-index-lookup`
when the index lookup is part of a destructuring assignment.
Closes [#6788](https://togithub.com/PyCQA/pylint/issues/6788)
- Fixed parsing of unrelated options in `tox.ini`.
Closes [#6800](https://togithub.com/PyCQA/pylint/issues/6800)
- Fixed a crash when linting `__new__()` methods that return a call expression.
Closes [#6805](https://togithub.com/PyCQA/pylint/issues/6805)
- Don't crash if we can't find the user's home directory.
Closes [#6802](https://togithub.com/PyCQA/pylint/issues/6802)
- Fixed false positives for `unused-import` when aliasing `typing` e.g. as `t`
and guarding imports under `t.TYPE_CHECKING`.
Closes [#3846](https://togithub.com/PyCQA/pylint/issues/3846)
- Fixed a false positive regression in 2.13 for `used-before-assignment` where it is safe to rely
on a name defined only in an `except` block because the `else` block returned.
Closes [#6790](https://togithub.com/PyCQA/pylint/issues/6790)
- Fixed the use of abbreviations for some special options on the command line.
Closes [#6810](https://togithub.com/PyCQA/pylint/issues/6810)
- Fix a crash in the optional `pylint.extensions.private_import` extension.
Closes [#6624](https://togithub.com/PyCQA/pylint/issues/6624)
- `bad-option-value` (E0012) is now a warning `unknown-option-value` (W0012). Deleted messages that do not exist
anymore in pylint now raise `useless-option-value` (R0022) instead of `bad-option-value`. This allows to
distinguish between genuine typos and configuration that could be cleaned up. Existing message disables for
`bad-option-value` will still work on both new messages.
Refs [#6794](https://togithub.com/PyCQA/pylint/issues/6794)
Configuration
📅 Schedule: Branch creation - "before 2am" in timezone Asia/Singapore, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==2.14.0
->==2.14.1
Release Notes
PyCQA/pylint
### [`v2.14.1`](https://togithub.com/PyCQA/pylint/releases/tag/v2.14.1) [Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.14.0...v2.14.1) - Avoid reporting `unnecessary-dict-index-lookup` or `unnecessary-list-index-lookup` when the index lookup is part of a destructuring assignment. Closes [#6788](https://togithub.com/PyCQA/pylint/issues/6788) - Fixed parsing of unrelated options in `tox.ini`. Closes [#6800](https://togithub.com/PyCQA/pylint/issues/6800) - Fixed a crash when linting `__new__()` methods that return a call expression. Closes [#6805](https://togithub.com/PyCQA/pylint/issues/6805) - Don't crash if we can't find the user's home directory. Closes [#6802](https://togithub.com/PyCQA/pylint/issues/6802) - Fixed false positives for `unused-import` when aliasing `typing` e.g. as `t` and guarding imports under `t.TYPE_CHECKING`. Closes [#3846](https://togithub.com/PyCQA/pylint/issues/3846) - Fixed a false positive regression in 2.13 for `used-before-assignment` where it is safe to rely on a name defined only in an `except` block because the `else` block returned. Closes [#6790](https://togithub.com/PyCQA/pylint/issues/6790) - Fixed the use of abbreviations for some special options on the command line. Closes [#6810](https://togithub.com/PyCQA/pylint/issues/6810) - Fix a crash in the optional `pylint.extensions.private_import` extension. Closes [#6624](https://togithub.com/PyCQA/pylint/issues/6624) - `bad-option-value` (E0012) is now a warning `unknown-option-value` (W0012). Deleted messages that do not exist anymore in pylint now raise `useless-option-value` (R0022) instead of `bad-option-value`. This allows to distinguish between genuine typos and configuration that could be cleaned up. Existing message disables for `bad-option-value` will still work on both new messages. Refs [#6794](https://togithub.com/PyCQA/pylint/issues/6794)Configuration
📅 Schedule: Branch creation - "before 2am" in timezone Asia/Singapore, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.