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

too-few-function-args redundant with no-value-for-parameter #9882

Conversation

rogersheu
Copy link
Contributor

Type of Changes

Type
βœ“ πŸ› Bug fix
βœ“ πŸ“œ Docs

Description

The addition of a new message, too-few-function-args, in #9847, overlaps (fully) with an existing message no-value-for-parameter. Because the too-few-function-args was only implemented for isinstance, this PR only seeks to transfer those messages over to the existing message no-value-for-parameter with hard-coded argument names for isinstance because it's a built-in function.

Closes #9881

Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 95.80%. Comparing base (a32250c) to head (5b9b0d1).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9882   +/-   ##
=======================================
  Coverage   95.80%   95.80%           
=======================================
  Files         174      174           
  Lines       18942    18944    +2     
=======================================
+ Hits        18147    18149    +2     
  Misses        795      795           
Files Coverage Ξ”
pylint/checkers/typecheck.py 96.53% <100.00%> (+<0.01%) ⬆️

This comment has been minimized.

@Pierre-Sassoulas Pierre-Sassoulas added Beta-Blocker πŸ™…πŸ©Έ If this issue is not fixed before the beta release, our blood pressure increase too much Maintenance Discussion or action around maintaining pylint or the dev workflow labels Aug 19, 2024
@Pierre-Sassoulas Pierre-Sassoulas added this to the 3.3.0 milestone Aug 19, 2024
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.

Thank you for noticing before release :)

@@ -0,0 +1,3 @@
Remove `too-few-function-args` in favor of the incumbent message `no-value-for-parameter`.
Copy link
Member

Choose a reason for hiding this comment

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

Let's make the changelog make sense by modifying the existing entry and hide the churn. I'll add the skipnews label

@Pierre-Sassoulas Pierre-Sassoulas added the Skip news πŸ”‡ This change does not require a changelog entry label Aug 19, 2024

This comment has been minimized.

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.

πŸ‘Œ

@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) August 19, 2024 05:15
@Pierre-Sassoulas Pierre-Sassoulas merged commit 40f58ea into pylint-dev:main Aug 19, 2024
44 checks passed
Copy link
Contributor

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

This comment was generated for commit 5b9b0d1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beta-Blocker πŸ™…πŸ©Έ If this issue is not fixed before the beta release, our blood pressure increase too much Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news πŸ”‡ This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

too-few-function-args overlaps with no-value-for-parameter
2 participants