pylint-dev/pylint (pylint)
### [`v2.17.5`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.17.5)
[Compare Source](https://togithub.com/pylint-dev/pylint/compare/v2.17.4...v2.17.5)
## What's new in Pylint 2.17.5?
Release date: 2023-07-26
## False Positives Fixed
- Fix a false positive for `unused-variable` when there is an import in a
`if TYPE_CHECKING:` block and `allow-global-unused-variables` is set to
`no` in the configuration.
Closes [#8696](https://togithub.com/pylint-dev/pylint/issues/8696)
- Fix false positives generated when supplying arguments as `**kwargs` to IO
calls like open().
Closes [#8719](https://togithub.com/pylint-dev/pylint/issues/8719)
- Fix a false positive where pylint was ignoring method calls annotated as
`NoReturn` during the `inconsistent-return-statements` check.
Closes [#8747](https://togithub.com/pylint-dev/pylint/issues/8747)
- Exempt parents with only type annotations from the `invalid-enum-extension`
message.
Closes [#8830](https://togithub.com/pylint-dev/pylint/issues/8830)
## Other Bug Fixes
- Fixed crash when a call to `super()` was placed after an operator (e.g.
`not`).
Closes [#8554](https://togithub.com/pylint-dev/pylint/issues/8554)
- Fix crash for `modified-while-iterating` checker when deleting
members of a dict returned from a call.
Closes [#8598](https://togithub.com/pylint-dev/pylint/issues/8598)
- Fix crash in `invalid-metaclass` check when a metaclass had duplicate
bases.
Closes [#8698](https://togithub.com/pylint-dev/pylint/issues/8698)
- Avoid `consider-using-f-string` on modulos with brackets in template.
Closes [#8720](https://togithub.com/pylint-dev/pylint/issues/8720).
- Fix a crash when `__all__` exists but cannot be inferred.
Closes [#8740](https://togithub.com/pylint-dev/pylint/issues/8740)
- Fix crash when a variable is assigned to a class attribute of identical name.
Closes [#8754](https://togithub.com/pylint-dev/pylint/issues/8754)
- Fixed a crash when calling `copy.copy()` without arguments.
Closes [#8774](https://togithub.com/pylint-dev/pylint/issues/8774)
## Other Changes
- Fix a crash when a `nonlocal` is defined at module-level.
Closes [#8735](https://togithub.com/pylint-dev/pylint/issues/8735)
Configuration
π Schedule: Branch creation - At any time (no schedule defined), 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, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==2.17.4
->==2.17.5
Release Notes
pylint-dev/pylint (pylint)
### [`v2.17.5`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.17.5) [Compare Source](https://togithub.com/pylint-dev/pylint/compare/v2.17.4...v2.17.5) ## What's new in Pylint 2.17.5? Release date: 2023-07-26 ## False Positives Fixed - Fix a false positive for `unused-variable` when there is an import in a `if TYPE_CHECKING:` block and `allow-global-unused-variables` is set to `no` in the configuration. Closes [#8696](https://togithub.com/pylint-dev/pylint/issues/8696) - Fix false positives generated when supplying arguments as `**kwargs` to IO calls like open(). Closes [#8719](https://togithub.com/pylint-dev/pylint/issues/8719) - Fix a false positive where pylint was ignoring method calls annotated as `NoReturn` during the `inconsistent-return-statements` check. Closes [#8747](https://togithub.com/pylint-dev/pylint/issues/8747) - Exempt parents with only type annotations from the `invalid-enum-extension` message. Closes [#8830](https://togithub.com/pylint-dev/pylint/issues/8830) ## Other Bug Fixes - Fixed crash when a call to `super()` was placed after an operator (e.g. `not`). Closes [#8554](https://togithub.com/pylint-dev/pylint/issues/8554) - Fix crash for `modified-while-iterating` checker when deleting members of a dict returned from a call. Closes [#8598](https://togithub.com/pylint-dev/pylint/issues/8598) - Fix crash in `invalid-metaclass` check when a metaclass had duplicate bases. Closes [#8698](https://togithub.com/pylint-dev/pylint/issues/8698) - Avoid `consider-using-f-string` on modulos with brackets in template. Closes [#8720](https://togithub.com/pylint-dev/pylint/issues/8720). - Fix a crash when `__all__` exists but cannot be inferred. Closes [#8740](https://togithub.com/pylint-dev/pylint/issues/8740) - Fix crash when a variable is assigned to a class attribute of identical name. Closes [#8754](https://togithub.com/pylint-dev/pylint/issues/8754) - Fixed a crash when calling `copy.copy()` without arguments. Closes [#8774](https://togithub.com/pylint-dev/pylint/issues/8774) ## Other Changes - Fix a crash when a `nonlocal` is defined at module-level. Closes [#8735](https://togithub.com/pylint-dev/pylint/issues/8735)Configuration
π Schedule: Branch creation - At any time (no schedule defined), 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.