Title: Update Pylint to v4.0.7 by renovate[bot] · Pull Request #5332 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: Update Pylint to v4.0.7 by renovate[bot] · Pull Request #5332 · python-telegram-bot/python-telegram-bot
X Title: Update Pylint to v4.0.7 by renovate[bot] · Pull Request #5332 · python-telegram-bot/python-telegram-bot
Description: This PR contains the following updates: Package Type Update Change Age Confidence PyCQA/pylint repository patch v4.0.6 → v4.0.7 pylint (changelog) dependency-groups patch ==4.0.6 → ==4.0.7 Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions. Release Notes PyCQA/pylint (PyCQA/pylint) v4.0.7 Compare Source What's new in Pylint 4.0.7? Release date: 2026-08-09 False Positives Fixed Fix a false positive for invalid-name when a module-level variable is assigned an instance of a TypedDict subclass. Such a name is a value, not a type definition, so it is now checked against the constant or variable regex instead of class-rgx. Closes #11231 Other Bug Fixes Fix a crash in the bad-open-mode check when the mode argument of open is the NotImplemented constant (Python >= 3.14). Closes #11099 Fix a crash in the not-context-manager and not-async-context-manager checks when the context manager infers to a value without a name, such as the slice returned by with slice(...) / async with slice(...). Closes #11102 Fix a false positive for nested-min-max (W3301) when the inner min/max call carries a keyword argument such as key=. Flattening the call dropped the keyword and changed the result, so nested calls whose inner call has keyword arguments are no longer flagged. Closes #11130 Fix a false suggestion from nested-min-max (W3301): when rewriting a nested min/max into a splat call, arguments positioned after the splatted call were silently dropped, so the suggested code changed the result. Closes #11134 Fix a false positive for too-many-locals (R0914): PEP 695 type parameters, i.e. the T1 and T2 in a generic def f[T1, T2] signature, were counted as local variables. They are type-system constructs, not runtime locals, and are now excluded from the local-variable count. Closes #11136 Fix literal-comparison (R0123) emitting a corrupted suggestion for identifiers that contain is (e.g. axis is 5 was rendered ax== == 5). The suggestion is now rebuilt from the operands and operator. Closes #11146 Fix false positives in bad-string-format-type (E1307) for valid % formatting: %i/%u applied to a float (both truncate like %d) and %a applied to any non-int type (%a is type-agnostic like %s/%r). Closes #11147 Fix a false positive for :ref:useless-parent-delegation when an override changes the default value of a positional-only parameter. Closes #11148 Fixed a crash in comparison-with-callable when comparing a lambda assigned as a class attribute. Closes #11175 too-many-lines could be reported at the line of a # pylint: disable=too-many-lines pragma found in a previously linted module. Pragma positions are now reset between modules, so the message is reported at line 1 (or at the current module's own pragma) regardless of which files were linted before. Refs #11191 Fix a crash when a call unpacks a dictionary whose keys are not string constants, e.g. copy.copy(**{-1: 1}). Closes #11222 pylint-dev/pylint (pylint) v4.0.7 Compare Source What's new in Pylint 4.0.7? Release date: 2026-08-09 False Positives Fixed Fix a false positive for invalid-name when a module-level variable is assigned an instance of a TypedDict subclass. Such a name is a value, not a type definition, so it is now checked against the constant or variable regex instead of class-rgx. Closes #11231 Other Bug Fixes Fix a crash in the bad-open-mode check when the mode argument of open is the NotImplemented constant (Python >= 3.14). Closes #11099 Fix a crash in the not-context-manager and not-async-context-manager checks when the context manager infers to a value without a name, such as the slice returned by with slice(...) / async with slice(...). Closes #11102 Fix a false positive for nested-min-max (W3301) when the inner min/max call carries a keyword argument such as key=. Flattening the call dropped the keyword and changed the result, so nested calls whose inner call has keyword arguments are no longer flagged. Closes #11130 Fix a false suggestion from nested-min-max (W3301): when rewriting a nested min/max into a splat call, arguments positioned after the splatted call were silently dropped, so the suggested code changed the result. Closes #11134 Fix a false positive for too-many-locals (R0914): PEP 695 type parameters, i.e. the T1 and T2 in a generic def f[T1, T2] signature, were counted as local variables. They are type-system constructs, not runtime locals, and are now excluded from the local-variable count. Closes #11136 Fix literal-comparison (R0123) emitting a corrupted suggestion for identifiers that contain is (e.g. axis is 5 was rendered ax== == 5). The suggestion is now rebuilt from the operands and operator. Closes #11146 Fix false positives in bad-string-format-type (E1307) for valid % formatting: %i/%u applied to a float (both truncate like %d) and %a applied to any non-int type (%a is type-agnostic like %s/%r). Closes #11147 Fix a false positive for :ref:useless-parent-delegation when an override changes the default value of a positional-only parameter. Closes #11148 Fixed a crash in comparison-with-callable when comparing a lambda assigned as a class attribute. Closes #11175 too-many-lines could be reported at the line of a # pylint: disable=too-many-lines pragma found in a previously linted module. Pragma positions are now reset between modules, so the message is reported at line 1 (or at the current module's own pragma) regardless of which files were linted before. Refs #11191 Fix a crash when a call unpacks a dictionary whose keys are not string constants, e.g. copy.copy(**{-1: 1}). Closes #11222 Configuration 📅 Schedule: (UTC) Branch creation Only on Sunday (* * * * 0) Automerge At any time (no schedule defined) 🚦 Automerge: Enabled. ♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 Ignore: Close this PR and you won't be reminded about these updates again. If you want to rebase/retry this PR, check this box This PR was generated by Mend Renovate. View the repository job log.
Open Graph Description: This PR contains the following updates: Package Type Update Change Age Confidence PyCQA/pylint repository patch v4.0.6 → v4.0.7 pylint (changelog) dependency-groups patch ==4.0.6 → ==4.0...
X Description: This PR contains the following updates: Package Type Update Change Age Confidence PyCQA/pylint repository patch v4.0.6 → v4.0.7 pylint (changelog) dependency-groups patch ==4.0.6 → ==4.0...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/5332
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e826a1f5-7da7-cc9b-4fdb-063e8f83b599 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B3B2:25866C:14EC80D:1B515D6:6B02A5F5 |
| html-safe-nonce | c8bae49e7c637912e2dea3c767e53ba2899e2d50eba3fae41c34614a46695070 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0IyOjI1ODY2QzoxNEVDODBEOjFCNTE1RDY6NkIwMkE1RjUiLCJ2aXNpdG9yX2lkIjoiNjY2MTA5NjIyMDMyMjM0MjM4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a01ae7dbc02153034cce53704d698be06a605cb0d202a80606f4b30fad8382cb |
| hovercard-subject-tag | pull_request:4291687770 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/5332/files |
| twitter:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/2740?s=400&v=4 |
| og:image:alt | This PR contains the following updates: Package Type Update Change Age Confidence PyCQA/pylint repository patch v4.0.6 → v4.0.7 pylint (changelog) dependency-groups patch ==4.0.6 → ==4.0... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width