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

[Backport maintenance/2.15.x] Fix ModuleNotFoundError when using pylint_django #7941

Merged

Conversation

github-actions[bot]
Copy link
Contributor

Backport 491eef5 from #7940.

Ensure that the import path is fixed up before calling
._astroid_module_checker() so that the pylint_django plugin can
successfully import the Django settings module when its checkers are
initialized.

Closes #7938

(cherry picked from commit 491eef5)
@Pierre-Sassoulas Pierre-Sassoulas added the Maintenance Discussion or action around maintaining pylint or the dev workflow label Dec 14, 2022
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.15.9 milestone Dec 14, 2022
@Pierre-Sassoulas Pierre-Sassoulas merged commit 494e514 into maintenance/2.15.x Dec 14, 2022
@Pierre-Sassoulas Pierre-Sassoulas deleted the backport-7940-to-maintenance/2.15.x branch December 14, 2022 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining pylint or the dev workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants