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

Replaced deprecated find_pylintrc by find_default_config_files #643

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

perestoronin
Copy link

Replaced deprecated find_pylintrc by find_default_config_files

PS. inpired by https://github.com/spyder-ide/spyder/pull/21470/files

Description

patch error cannot import name 'find_pylintrc' from 'pylint.config' for latest pylint 3.0.2

Related Issue

pylint-dev/pylint#9105

Motivation and Context

To work prospector with last pylint 3.0.2

How Has This Been Tested?

run prospector --help with latest pylint 3.0.2 without error about

File "/usr/lib/python3.11/site-packages/prospector/tools/pylint/__init__.py", line 8, in <module>
    from pylint.config import find_pylintrc
ImportError: cannot import name 'find_pylintrc' from 'pylint.config' (/usr/lib/python3.11/site-packages/pylint/config/__init__.py)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • All new and existing tests passed.

Copy link
Collaborator

@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.

LGTM

fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants