-
Notifications
You must be signed in to change notification settings - Fork 35
more mypy #125
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
more mypy #125
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
f6dd31b
start checking mypy and work on some hints
altendky ac4d446
remove unused imports
altendky 6706e20
some more mypy
altendky ea40055
more
altendky bf598ff
fixup
altendky 2293297
little
altendky 271e80a
Merge branch 'main' into mypie
altendky 3a5e0b0
catch up on test hints
altendky 0f3f7a7
more
altendky 78d02f5
fixup
altendky 89b1cfb
more
altendky 5af95bc
Merge branch 'main' into mypie
altendky 45a33a4
py.typed
altendky a542909
ignores...
altendky 6abbfe9
stuff
altendky 1f51f77
just ignore for now
altendky c9feb37
note
altendky ec21d41
Merge branch 'main' into mypie
altendky a93ce62
tidy
altendky a377a48
fix
altendky baeb9df
fix
altendky 01dac30
flake8
altendky 12f2e2e
typing_externsions.TypeGuard
altendky ba0ea9a
Apply suggestions from code review
altendky b5d6e23
add newly needed ignore
altendky 7dee522
fix NestedTupleOfBytes
altendky 2d125bb
Merge branch 'main' into mypie
altendky 302813a
`CLVMObjectLike` -> `CLVMStorage`
altendky 502e5e1
tidy hinting in `core_ops`
altendky 9422b0c
unused assignment in tests
altendky 29926ba
typing_extensions.Never
altendky 12571a4
tidy
altendky 90fb89c
tidy
altendky 55a514d
more tidy
altendky 142ecd1
oops
altendky ae67139
update note
altendky c76e7d9
shift around
altendky 393e1ba
more
altendky d77164d
undo
altendky c3214f6
tidy
altendky 271ff39
tidy
altendky 6bd0720
tidy
altendky 0b30a6a
prepare for more strict mypy
altendky 1a43f5f
enable 'free' mypy constraints
altendky 1f9dccd
no_implicit_reexport
altendky bdbb737
some untyped generics
altendky e66b640
almost, but not quite
altendky 8027443
ToCLVMStorage
richardkiss 98e1f9c
break circular import
altendky 8369c45
touchup
altendky daabb3e
Merge branch 'main' into mypie
altendky 7222f09
future
altendky 23e47d8
less future
altendky 8f05894
`SExp.to(Any)`
altendky 15f4c2e
remove ignores
altendky f806e68
use `PythonReturnType` for as python return type
altendky 1f3f89b
drop any
altendky bfe9e84
hmm
altendky 44ca118
Revert "hmm"
altendky 8f7c410
Revert "drop any"
altendky 7a956fc
Revert "use `PythonReturnType` for as python return type"
altendky 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
if TYPE_CHECKING: | ||
from clvm.SExp import SExp | ||
|
||
|
||
class EvalError(Exception): | ||
def __init__(self, message: str, sexp): | ||
def __init__(self, message: str, sexp: SExp) -> None: | ||
super().__init__(message) | ||
self._sexp = sexp |
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
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.