-
Notifications
You must be signed in to change notification settings - Fork 23
Add a check for methods that hardcode their return type, but shouldn't #174
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
76e9e3f
Add a check for methods that hardcode their return type, but shouldn't
AlexWaygood 5ff7955
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4a52bd3
Improve control flow, add docstring
AlexWaygood a363ec4
Merge branch 'self' of https://github.com/AlexWaygood/flake8-pyi into…
AlexWaygood 0d7b3d1
Add more tests
AlexWaygood 878243d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8d4cb84
Refactor
AlexWaygood 36b1a45
Improve error messages
AlexWaygood e6f0ff4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] bba4575
Add docstring & docs
AlexWaygood 46c1323
Merge branch 'self' of https://github.com/AlexWaygood/flake8-pyi into…
AlexWaygood 8b0f002
Add helper function
AlexWaygood 8df0300
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 283663a
Exclude abstractmethods
AlexWaygood ac2d838
Tweak README
AlexWaygood 87d40dd
Update CHANGELOG.md
JelleZijlstra d054b9b
Address review
AlexWaygood 872c8db
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 14210eb
Exclude final classes from the __new__ check; refactor
AlexWaygood dbe1b75
Update pyi.py
AlexWaygood 15d2382
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 87dd297
Skip __(a)enter__ checks for final classes as well
AlexWaygood f56b882
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8a1f886
Add tests
AlexWaygood 8de3a25
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7ea128b
Update classdefs.pyi
AlexWaygood 5da5404
Update pyi.py
AlexWaygood ef9625a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 52561ba
Fix formatting
AlexWaygood 4e3c9c2
Move comment
AlexWaygood 47f95f9
Make function private
AlexWaygood 933072e
Consistency of names
AlexWaygood 1bc57f3
Add another helper function
AlexWaygood 6bef4d9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e0470c4
Update tests/classdefs.pyi
AlexWaygood 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 hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.