Skip to content

[Backport maintenance/3.0.x] Fix used-before-assignment FP for generic type syntax (Py 3.12)#9154

Merged
Pierre-Sassoulas merged 1 commit intomaintenance/3.0.xfrom
backport-9150-to-maintenance/3.0.x
Oct 16, 2023
Merged

[Backport maintenance/3.0.x] Fix used-before-assignment FP for generic type syntax (Py 3.12)#9154
Pierre-Sassoulas merged 1 commit intomaintenance/3.0.xfrom
backport-9150-to-maintenance/3.0.x

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Backport cb29fbd from #9150.

@Pierre-Sassoulas Pierre-Sassoulas added the False Positive 🦟 A message is emitted but nothing is wrong with the code label Oct 16, 2023
@Pierre-Sassoulas Pierre-Sassoulas added this to the 3.0.2 milestone Oct 16, 2023
@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) October 16, 2023 14:25
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 16, 2023

Codecov Report

Merging #9154 (d279e14) into maintenance/3.0.x (a77f0c1) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           maintenance/3.0.x    #9154   +/-   ##
==================================================
  Coverage              95.76%   95.76%           
==================================================
  Files                    173      173           
  Lines                  18686    18688    +2     
==================================================
+ Hits                   17895    17897    +2     
  Misses                   791      791           
Files Coverage Δ
pylint/checkers/variables.py 97.23% <100.00%> (+<0.01%) ⬆️

)

* Fix `used-before-assignment` FP for generic type syntax (Py 3.12)

* Bump astroid to 3.0.1

(cherry picked from commit cb29fbd)
@Pierre-Sassoulas Pierre-Sassoulas force-pushed the backport-9150-to-maintenance/3.0.x branch from 068f8fc to d279e14 Compare October 16, 2023 15:01
@Pierre-Sassoulas Pierre-Sassoulas merged commit 759e2cc into maintenance/3.0.x Oct 16, 2023
@Pierre-Sassoulas Pierre-Sassoulas deleted the backport-9150-to-maintenance/3.0.x branch October 16, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

False Positive 🦟 A message is emitted but nothing is wrong with the code python 3.12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants