PyCQA/pylint
### [`v2.14.2`](https://togithub.com/PyCQA/pylint/releases/tag/v2.14.2)
[Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.14.1...v2.14.2)
- Fixed a false positive for `unused-variable` when a function returns an
`argparse.Namespace` object.
Closes [#6895](https://togithub.com/PyCQA/pylint/issues/6895)
- Avoided raising an identical `undefined-loop-variable` message twice on the same line.
- Don't crash if `lint.run._query_cpu()` is run within a Kubernetes Pod, that has only
a fraction of a cpu core assigned. Just go with one process then.
Closes [#6902](https://togithub.com/PyCQA/pylint/issues/6902)
- Fixed a false positive in `consider-using-f-string` if the left side of a `%` is not a string.
Closes [#6689](https://togithub.com/PyCQA/pylint/issues/6689)
- Fixed a false positive in `unnecessary-list-index-lookup` and `unnecessary-dict-index-lookup`
when the subscript is updated in the body of a nested loop.
Closes [#6818](https://togithub.com/PyCQA/pylint/issues/6818)
- Fixed an issue with multi-line `init-hook` options which did not record the line endings.
Closes [#6888](https://togithub.com/PyCQA/pylint/issues/6888)
- Fixed a false positive for `used-before-assignment` when a try block returns
but an except handler defines a name via type annotation.
- `--errors-only` no longer enables previously disabled messages. It was acting as
"emit *all* and only error messages" without being clearly documented that way.
Closes [#6811](https://togithub.com/PyCQA/pylint/issues/6811)
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.1
->==2.14.2
Release Notes
PyCQA/pylint
### [`v2.14.2`](https://togithub.com/PyCQA/pylint/releases/tag/v2.14.2) [Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.14.1...v2.14.2) - Fixed a false positive for `unused-variable` when a function returns an `argparse.Namespace` object. Closes [#6895](https://togithub.com/PyCQA/pylint/issues/6895) - Avoided raising an identical `undefined-loop-variable` message twice on the same line. - Don't crash if `lint.run._query_cpu()` is run within a Kubernetes Pod, that has only a fraction of a cpu core assigned. Just go with one process then. Closes [#6902](https://togithub.com/PyCQA/pylint/issues/6902) - Fixed a false positive in `consider-using-f-string` if the left side of a `%` is not a string. Closes [#6689](https://togithub.com/PyCQA/pylint/issues/6689) - Fixed a false positive in `unnecessary-list-index-lookup` and `unnecessary-dict-index-lookup` when the subscript is updated in the body of a nested loop. Closes [#6818](https://togithub.com/PyCQA/pylint/issues/6818) - Fixed an issue with multi-line `init-hook` options which did not record the line endings. Closes [#6888](https://togithub.com/PyCQA/pylint/issues/6888) - Fixed a false positive for `used-before-assignment` when a try block returns but an except handler defines a name via type annotation. - `--errors-only` no longer enables previously disabled messages. It was acting as "emit *all* and only error messages" without being clearly documented that way. Closes [#6811](https://togithub.com/PyCQA/pylint/issues/6811)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.