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 ignored modules to Astroid module deny list #9504

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jamie-
Copy link

@Jamie- Jamie- commented Mar 15, 2024

Type of Changes

Type
✨ New feature

Description

Adds ignored modules to the Astroid deny list so they may be truly ignored as they will now not be imported at all.

Depends on Astroid change pylint-dev/astroid#2399

Closes #9442

@jacobtylerwalls jacobtylerwalls added the Needs astroid update Needs an astroid update (probably a release too) before being mergable label Mar 17, 2024
@jacobtylerwalls jacobtylerwalls added this to the 3.2.0 milestone Mar 17, 2024
@jacobtylerwalls jacobtylerwalls added the Enhancement ✨ Improvement to a component label Mar 17, 2024
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 ! Will require an astroid release and upgrade that we could do just for this quickly since the value added is huge.

tests/lint/test_pylinter.py Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented May 7, 2024

🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉

This comment was generated for commit 90c8723

Copy link
Member

@jacobtylerwalls jacobtylerwalls left a comment

Choose a reason for hiding this comment

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

👋 @Jamie- I rebased your branch on main after we bumped astroid. Would you have a chance to look into the test failure by any chance? Thank you!

@jacobtylerwalls
Copy link
Member

And the docs CI check shows an update needed 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ Improvement to a component 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.

Azure import try/except over doubles pylint memory usage
3 participants