Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visit PEP 695 nodes in get_children() #2330

Merged
merged 2 commits into from
Oct 28, 2023

Conversation

jacobtylerwalls
Copy link
Member

@jacobtylerwalls jacobtylerwalls commented Oct 28, 2023

Type of Changes

Type
βœ“ πŸ› Bug fix
βœ“ ✨ New feature

Description

Refs pylint-dev/pylint#9193

Noticed that without this PR, we don't check these nodes for invalid-name.

@codecov
Copy link

codecov bot commented Oct 28, 2023

Codecov Report

Merging #2330 (f7e0151) into main (acfb755) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2330   +/-   ##
=======================================
  Coverage   92.86%   92.86%           
=======================================
  Files          94       94           
  Lines       11066    11068    +2     
=======================================
+ Hits        10276    10278    +2     
  Misses        790      790           
Flag Coverage Ξ”
linux 92.67% <100.00%> (+<0.01%) ⬆️
pypy 91.01% <100.00%> (+0.01%) ⬆️
windows 92.45% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Ξ”
astroid/nodes/scoped_nodes/scoped_nodes.py 92.49% <100.00%> (+0.01%) ⬆️

@jacobtylerwalls
Copy link
Member Author

Let's wait for 3.1, this is basically a new feature (and it's not blocking any pylint false positives).

@jacobtylerwalls jacobtylerwalls merged commit 5de983a into pylint-dev:main Oct 28, 2023
20 checks passed
@jacobtylerwalls jacobtylerwalls deleted the yield-pep695 branch October 28, 2023 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants