Update dependency astroid to v3.1.0 (development) #74
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==3.0.2
->==3.1.0
Release Notes
pylint-dev/astroid (astroid)
v3.1.0
Compare Source
============================
Release date: 2024-02-23
Include PEP 695 (Python 3.12) generic type syntax nodes in
get_children()
,allowing checkers to visit them.
Refs pylint-dev/pylint#9193
Add
__main__
as a possible inferred value for__name__
to improvecontrol flow inference around
if __name__ == "__main__":
guards.Closes #2071
Following a deprecation period, the
names
arg to theImport
constructor andthe
op
arg to theBoolOp
constructor are now required, and thedoc
argsto the
PartialFunction
andProperty
constructors have been removed (callpostinit(doc_node=...)
instead.)Following a deprecation announced in astroid 1.5.0, the alias
AstroidBuildingException
is removed in favor ofAstroidBuildingError
.Include modname in AST warnings. Useful for
invalid escape sequence
warningswith Python 3.12.
RecursionError
is now trapped and logged out asUserWarning
during astroid node transformations with instructions about raising the system recursion limit.Closes pylint-dev/pylint#8842
Suppress
SyntaxWarning
for invalid escape sequences on Python 3.12 when parsing modules.Closes pylint-dev/pylint#9322
v3.0.3
Compare Source
============================
Release date: 2024-02-04
Fix type of
UnicodeDecodeError.object
inferred asstr
instead ofbytes
.Closes pylint-dev/pylint#9342
Fix
no-member
false positives forargs
andkwargs
onParamSpec
under Python 3.12.Closes pylint-dev/pylint#9401
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.