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

Minor refactor to util function #8243

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Minor refactor to util function #8243

merged 1 commit into from
Feb 8, 2023

Conversation

zenlyj
Copy link
Contributor

@zenlyj zenlyj commented Feb 8, 2023

Type of Changes

Type
πŸ› Bug fix
✨ New feature
βœ“ πŸ”¨ Refactoring
πŸ“œ Docs

Description

Related to #8071. Small refactor to utility function is_defined. Nothing functional is changed.

Sorry @Pierre-Sassoulas. Jacob pointed out this inconsistency for the guard clauses in one of his reviews, but I misunderstood it then and did not manage correct it before merge.

@Pierre-Sassoulas Pierre-Sassoulas added Skip news πŸ”‡ This change does not require a changelog entry backport maintenance/2.16.x labels Feb 8, 2023
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the explanation :)

@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.16.2 milestone Feb 8, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2023

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 00777c3

@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Merging #8243 (00777c3) into main (6a019eb) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #8243   +/-   ##
=======================================
  Coverage   95.45%   95.45%           
=======================================
  Files         177      177           
  Lines       18646    18646           
=======================================
  Hits        17798    17798           
  Misses        848      848           
Impacted Files Coverage Ξ”
pylint/checkers/utils.py 95.83% <100.00%> (ΓΈ)

@Pierre-Sassoulas Pierre-Sassoulas merged commit 13fbe68 into pylint-dev:main Feb 8, 2023
github-actions bot pushed a commit that referenced this pull request Feb 8, 2023
Pierre-Sassoulas pushed a commit that referenced this pull request Feb 8, 2023
(cherry picked from commit 13fbe68)

Co-authored-by: Zen Lee <53538590+zenlyj@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backported Skip news πŸ”‡ This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants