-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Typos and remove always true condition #7008
Conversation
@@ -1799,7 +1799,6 @@ def in_type_checking_block(node: nodes.NodeNG) -> bool: | |||
if ( | |||
isinstance(inferred_module, nodes.Module) | |||
and inferred_module.name == "typing" | |||
and inferred_module.pytype() == "builtins.module" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From #6787, always true, it turns out.
@@ -249,7 +249,7 @@ class PyLinter( | |||
* handle some basic but necessary stats' data (number of classes, methods...) | |||
|
|||
IDE plugin developers: you may have to call | |||
`astroid.builder.MANAGER.astroid_cache.clear()` across runs if you want | |||
`astroid.MANAGER.clear_cache()` across runs if you want |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now matches the guidance in doc/development_guide/api/pylint.rst
Pull Request Test Coverage Report for Build 2546346103
π - Coveralls |
This comment has been minimized.
This comment has been minimized.
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 5956509 |
Type of Changes