-
-
Notifications
You must be signed in to change notification settings - Fork 30
Add/complete type annotations #193
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 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
00fc838
Add/complete type annotations
CoolCat467 c49321f
Fix line-too-long errors
CoolCat467 45c06ad
Fix remaining CI issues
CoolCat467 a2d83f5
Use strings for cast values
CoolCat467 335dab2
Missed another type quote
CoolCat467 fd09470
Remove redundant command line flags
CoolCat467 b5233c8
Remove now un-needed annotation for socket listeners
CoolCat467 ce73cb1
Re-add type ignore because of old trio version support
CoolCat467 e98f233
Suggestions from code review
CoolCat467 96e437f
Fix lint issues
CoolCat467 35a6235
Avoid a few type errors with fake socket listener
CoolCat467 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
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
CoolCat467 marked this conversation as resolved.
Show resolved
Hide resolved
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[mypy] | ||
explicit_package_bases = true | ||
files = trio_websocket,tests,autobahn,examples | ||
CoolCat467 marked this conversation as resolved.
Show resolved
Hide resolved
jakkdl marked this conversation as resolved.
Show resolved
Hide resolved
|
||
show_column_numbers = true | ||
show_error_codes = true | ||
show_traceback = true | ||
warn_redundant_casts = true | ||
warn_unused_configs = true | ||
|
||
[mypy-trio_websocket] | ||
check_untyped_defs = true | ||
disallow_any_decorated = true | ||
disallow_any_generics = true | ||
disallow_any_unimported = true | ||
disallow_incomplete_defs = true | ||
disallow_subclassing_any = true | ||
disallow_untyped_calls = true | ||
disallow_untyped_decorators = true | ||
disallow_untyped_defs = true | ||
ignore_missing_imports = true | ||
local_partial_types = true | ||
no_implicit_optional = true | ||
no_implicit_reexport = true | ||
strict = true | ||
strict_equality = true | ||
warn_return_any = true | ||
warn_unreachable = true | ||
warn_unused_ignores = true | ||
CoolCat467 marked this conversation as resolved.
Show resolved
Hide resolved
|
CoolCat467 marked this conversation as resolved.
Show resolved
Hide resolved
|
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
Oops, something went wrong.
Oops, something went wrong.
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.