Skip to content

Minor refactor to util function#8243

Merged
Pierre-Sassoulas merged 1 commit intopylint-dev:mainfrom
zenlyj:8071-refactor
Feb 8, 2023
Merged

Minor refactor to util function#8243
Pierre-Sassoulas merged 1 commit intopylint-dev:mainfrom
zenlyj:8071-refactor

Conversation

@zenlyj
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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.

2 participants