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

Add regression test for #5982 #5988

Merged
merged 4 commits into from
Mar 27, 2022

Conversation

jacobtylerwalls
Copy link
Member

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #5982
Refs pylint-dev/astroid#1489

@jacobtylerwalls jacobtylerwalls added the Needs astroid update Needs an astroid update (probably a release too) before being mergable label Mar 26, 2022
@jacobtylerwalls jacobtylerwalls added this to the 2.13.2 milestone Mar 26, 2022
@jacobtylerwalls jacobtylerwalls added the Needs backport Needs to be cherry-picked on the current patch version by a pylint's maintainer label Mar 26, 2022
@Pierre-Sassoulas
Copy link
Member

Hmm, there's a fail in 3.6, but it's end of life. We're effectively maintaining 3.6 code as long as we do not release 2.14 with #5921. It may make sense to release 2.14 now with the few features it has in order to not maintain python 3.6 any longer.

@jacobtylerwalls
Copy link
Member Author

Ha, no I just need to set min version on the test -- forgot that from __future__ import annotations doesn't exist in py3.6. I'll push.

@Pierre-Sassoulas Pierre-Sassoulas mentioned this pull request Mar 26, 2022
4 tasks
@DanielNoord
Copy link
Collaborator

Please see comment in astroid PR. I'm not sure if the fix there is correct and we might want to hold of on merging this until discussion has resolved there.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 2045992410

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.006%) to 94.178%

Files with Coverage Reduction New Missed Lines %
pylint/checkers/base/basic_checker.py 1 97.89%
Totals Coverage Status
Change from base Build 2045919298: -0.006%
Covered Lines: 15336
Relevant Lines: 16284

πŸ’› - Coveralls

@Pierre-Sassoulas
Copy link
Member

Merging as the discussion in pylint-dev/astroid#1489 (comment) came to an agreement that the fix is correct.

@Pierre-Sassoulas Pierre-Sassoulas merged commit 6279ab1 into pylint-dev:main Mar 27, 2022
@jacobtylerwalls jacobtylerwalls deleted the child-namedtuple branch March 27, 2022 12:34
@Pierre-Sassoulas Pierre-Sassoulas removed the Needs backport Needs to be cherry-picked on the current patch version by a pylint's maintainer label Mar 27, 2022
Pierre-Sassoulas added a commit that referenced this pull request Mar 27, 2022
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs astroid update Needs an astroid update (probably a release too) before being mergable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: '<' not supported between instances of 'int' and 'NoneType'
5 participants