-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix AstroidError
in similarity checker with imports/signatures ignored
#6357
Merged
DanielNoord
merged 27 commits into
pylint-dev:main
from
jacobtylerwalls:duplicate-code-disable-crash
Apr 19, 2022
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
b0d5dd0
Fix AstroidError in similarity checker with imports/signatures ignored
jacobtylerwalls 4821234
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] de330e4
Whitespace
jacobtylerwalls 4f55194
Minor optimization
jacobtylerwalls 0e66357
Docstring style
jacobtylerwalls ca35944
Simplify
jacobtylerwalls d2c2a83
All tests with ignore imports/signatures
jacobtylerwalls 433941f
Clarify comment
jacobtylerwalls 84173b9
Look ahead to next line
jacobtylerwalls 4e8ce79
This test still fails on 2.13
jacobtylerwalls 27c62fb
Fix expected result and refactor
jacobtylerwalls 0eb0ce6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 76f26a0
Refactor
jacobtylerwalls df5bb80
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2723edd
add disable
jacobtylerwalls 343923b
typo/reword
jacobtylerwalls dabc26b
Alternate solution
jacobtylerwalls 17dfbc7
Remove mooted test condition
jacobtylerwalls 0cda0c0
avoid some iteration
jacobtylerwalls 8763570
Merge 'main'
jacobtylerwalls d5cdbbf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6e01357
Remove overkill tests (now that no lines are altered before ast re-paβ¦
jacobtylerwalls 9dcfeda
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3dfba99
add --
jacobtylerwalls cab9ef4
better typing import
jacobtylerwalls 62028e1
Get the except in the right place
jacobtylerwalls 53660be
More specific typing
jacobtylerwalls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I fought with this locally and finally just
no-verified
it. Why is this syntax okay with our minimum python version of 3.7.2? (Well, 3.6.2, since we are talking about backporting, potentially.)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.
oh, did we future import annotations everywhere? ah. but still a problem with 3.6, then.
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.
I guess we don't have to backport this if only one user reported it and 2.14 is coming soon.
This comment was marked as resolved.
Sorry, something went wrong.
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.
Cool. LMK if I should move the release note to 2.14. If we backport I guess we can just use different type annotation syntax.