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

[duplicate-code] Ignore decorators lines by similarities checker when ignore signatures flag enabled #4840

Merged
merged 2 commits into from Aug 14, 2021

Conversation

mhumetskyi
Copy link
Contributor

@mhumetskyi mhumetskyi commented Aug 13, 2021

Type of Changes

Type
✨ New feature

Description

Ignore function decorators during similarities check if ignore signatures flag enabled.

Closes #4839

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.

👍. Nice ratio of fix vs documentation/test around it ! 4 characters fix and 31 lines of MR 😄

ChangeLog Outdated
Comment on lines 122 to 133
What's New in Pylint 2.9.7?
===========================
Release date: TBA

* Fix not ignored decorators lines by similarities checker when ignore signatures flag enabled

Closes #4839


Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
What's New in Pylint 2.9.7?
===========================
Release date: TBA
* Fix not ignored decorators lines by similarities checker when ignore signatures flag enabled
Closes #4839
* Fix not ignored decorators lines by similarities checker when ignore signatures flag enabled
Closes #4839

Next version will be 2.10.0 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed, thanks!

@Pierre-Sassoulas Pierre-Sassoulas added Enhancement ✨ Improvement to a component duplicate-code Related to code duplication checker labels Aug 13, 2021
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.10.0 milestone Aug 13, 2021
@mhumetskyi mhumetskyi force-pushed the issue-4839 branch 2 times, most recently from 1b5daf8 to e6121a8 Compare August 13, 2021 19:12
@coveralls
Copy link

coveralls commented Aug 13, 2021

Pull Request Test Coverage Report for Build 1128773269

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.649%

Totals Coverage Status
Change from base Build 1128735409: 0.0%
Covered Lines: 13322
Relevant Lines: 14379

💛 - Coveralls

@mhumetskyi
Copy link
Contributor Author

@Pierre-Sassoulas thanks for the quick feedback!

I have updated PR according to labels (as it's not a bug but an enhancement).

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 a lot !

@Pierre-Sassoulas Pierre-Sassoulas merged commit 37f2f2b into pylint-dev:main Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate-code Related to code duplication checker Enhancement ✨ Improvement to a component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Similarities checker doesn't ignore decorators with "ignore-signatures" option enabled
3 participants