Skip to content

Pylint crash with StopIteration when used with --limit-inference-results 0 #4631

@ghost

Description

Steps to reproduce

  1.  pylint --fail-under 9 --limit-inference-results 0 ./spotdl
    

    on any file/files that import from modules that haven't been installed

  2. Discovered on GitHub actions run that you can check here.

pylint --version output

Result of pylint --version output:

2.9.0

Notes

  1. Sorry for not strictly adhering to the template. All the files, previous checks and current check outputs can be seen on GitHub itself.

  2. This is an issue I found only with 2.9.0

Metadata

Metadata

Labels

Blocker 🙅Blocks the next releaseCrash 💥A bug that makes pylint crashNeeds astroid updateNeeds an astroid update (probably a release too) before being mergable

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions