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

Fix a false positive for missing-param-doc #9740

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

mbyrnepr2
Copy link
Member

@mbyrnepr2 mbyrnepr2 commented Jun 20, 2024

Type of Changes

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

Description

Fix a false positive for missing-param-doc where a method which is decorated with typing.overload was expected to have a docstring specifying its parameters.

Closes #9739

@mbyrnepr2 mbyrnepr2 added the False Positive 🦟 A message is emitted but nothing is wrong with the code label Jun 20, 2024

This comment has been minimized.

…s decorated with ``typing.overload`` was expected to have a docstring specifying its parameters.

Closes pylint-dev#9739

This comment has been minimized.

This comment has been minimized.

@mbyrnepr2 mbyrnepr2 marked this pull request as ready for review June 21, 2024 11:24
@mbyrnepr2 mbyrnepr2 closed this Jun 25, 2024
@mbyrnepr2 mbyrnepr2 reopened this Jun 25, 2024
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

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

Project coverage is 95.80%. Comparing base (fc9bdeb) to head (1c5289b).
Report is 45 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #9740       /-   ##
==========================================
- Coverage   95.85%   95.80%   -0.06%     
==========================================
  Files         174      174              
  Lines       18873    18885       12     
==========================================
  Hits        18090    18092        2     
- Misses        783      793       10     
Files Coverage Ξ”
pylint/extensions/docparams.py 100.00% <100.00%> (ΓΈ)

... and 20 files with indirect coverage changes

This comment has been minimized.

@mbyrnepr2
Copy link
Member Author

Sorry I was using the "open close" principle to trigger the codecov run since there was an issue on a previous run :D

@jacobtylerwalls jacobtylerwalls added this to the 3.2.6 milestone Jul 14, 2024
@jacobtylerwalls
Copy link
Member

Sorry for the noise -- committed to the wrong branch. πŸ˜“ . Thanks Mark!

This comment has been minimized.

Copy link
Contributor

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

This comment was generated for commit 1c5289b

@jacobtylerwalls jacobtylerwalls merged commit 9cd5c37 into pylint-dev:main Jul 15, 2024
42 checks passed
github-actions bot pushed a commit that referenced this pull request Jul 15, 2024
* Fix a false positive for ``missing-param-doc`` where a method which is decorated with ``typing.overload`` was expected to have a docstring specifying its parameters.

Closes #9739

(cherry picked from commit 9cd5c37)
@mbyrnepr2 mbyrnepr2 deleted the 9739_missing_param_doc branch July 15, 2024 12:13
jacobtylerwalls pushed a commit that referenced this pull request Jul 15, 2024
* Fix a false positive for ``missing-param-doc`` where a method which is decorated with ``typing.overload`` was expected to have a docstring specifying its parameters.

Closes #9739

(cherry picked from commit 9cd5c37)

Co-authored-by: Mark Byrne <31762852 [email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport maintenance/3.2.x False Positive 🦟 A message is emitted but nothing is wrong with the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@overload causes missing-param-doc despite parameter being documented
2 participants