Skip to content

Conversation

DanielNoord
Copy link
Collaborator

  • Add yourself to CONTRIBUTORS if you are a new contributor.
  • Add a ChangeLog entry describing what your PR does.
  • If it's a new feature, or an important bug fix, add a What's New entry in
    doc/whatsnew/<current release.rst>.
  • Write a good description on what the PR does.

Type of Changes

Type
🐛 Bug fix

Description

Closes #6180.

@DanielNoord DanielNoord added Bug 🪲 Needs backport Needs to be cherry-picked on the current patch version by a pylint's maintainer False Positive 🦟 A message is emitted but nothing is wrong with the code labels Apr 4, 2022
@DanielNoord DanielNoord added this to the 2.14.0 milestone Apr 4, 2022
@DanielNoord DanielNoord modified the milestones: 2.14.0, 2.13.5 Apr 4, 2022
@coveralls
Copy link

coveralls commented Apr 4, 2022

Pull Request Test Coverage Report for Build 2094472459

  • 7 of 7 (100.0%) changed or added relevant lines in 2 files are covered.
  • 82 unchanged lines in 7 files lost coverage.
  • Overall coverage increased (+0.02%) to 94.521%

Files with Coverage Reduction New Missed Lines %
pylint/config/arguments_manager.py 1 98.08%
pylint/config/utils.py 1 98.82%
pylint/config/argument.py 4 95.0%
pylint/checkers/classes/class_checker.py 7 94.35%
pylint/utils/utils.py 13 86.39%
pylint/lint/pylinter.py 25 95.12%
pylint/checkers/typecheck.py 31 95.22%
Totals Coverage Status
Change from base Build 2090822141: 0.02%
Covered Lines: 15698
Relevant Lines: 16608

💛 - Coveralls

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.

Great ! 👍

@DanielNoord
Copy link
Collaborator Author

Moved the rename into this PR/

Closes #6069
Closes #6136

* ``lru-cache-decorating-method`` has been renamed to ``cache-max-size-none`` and
Copy link
Member

Choose a reason for hiding this comment

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

maxsize is spelled as one word in the argument. What about cache-maxsize-none?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If we keep it like max-size we can potentially reuse later on for another function. But I'm fine with either!

Copy link
Member

Choose a reason for hiding this comment

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

I don't feel strongly. Happy to keep this way.

@DanielNoord DanielNoord merged commit bab3cb6 into pylint-dev:main Apr 5, 2022
@DanielNoord DanielNoord deleted the lru-cache branch April 5, 2022 14:26
@Pierre-Sassoulas Pierre-Sassoulas removed the Needs backport Needs to be cherry-picked on the current patch version by a pylint's maintainer label Apr 6, 2022
Pierre-Sassoulas added a commit that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backported Bug 🪲 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.

pylint reports false positive error for lru_cache with maxsize omitted
4 participants