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

Typos and remove always true condition #7008

Merged
merged 6 commits into from
Jun 23, 2022

Conversation

jacobtylerwalls
Copy link
Member

Type of Changes

Type
βœ“ πŸ”¨ Refactoring
βœ“ πŸ“œ Docs

@jacobtylerwalls jacobtylerwalls added the Skip news πŸ”‡ This change does not require a changelog entry label Jun 23, 2022
@@ -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"
Copy link
Member Author

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
Copy link
Member Author

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

@coveralls
Copy link

coveralls commented Jun 23, 2022

Pull Request Test Coverage Report for Build 2546346103

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 95.274%

Files with Coverage Reduction New Missed Lines %
pylint/lint/run.py 2 87.9%
Totals Coverage Status
Change from base Build 2545134324: -0.01%
Covered Lines: 16590
Relevant Lines: 17413

πŸ’› - Coveralls

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 5956509

@Pierre-Sassoulas Pierre-Sassoulas merged commit 8d8e518 into pylint-dev:main Jun 23, 2022
@jacobtylerwalls jacobtylerwalls deleted the misc branch June 23, 2022 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip news πŸ”‡ This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants