-
Notifications
You must be signed in to change notification settings - Fork 288
Add bound types throughout layers and Ops #599
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
svlandeg
merged 79 commits into
explosion:develop
from
richardpaulhudson:feature/mypy-fixes
May 9, 2022
Merged
Changes from 10 commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
fd33e07
Fixed typing problems mostly in with... methods
richardpaulhudson fa5a6bb
Sorted out flatten and unflatten
richardpaulhudson 66470fb
Iterable and Concatenatable types
richardpaulhudson e630ca1
Corrections
richardpaulhudson abf1d99
More corrections
richardpaulhudson a60b94f
Merge branch 'explosion:master' into feature/mypy-fixes
richardpaulhudson 83161aa
Corrections to layers
richardpaulhudson 62c833c
Moved type definitions from types to ops
richardpaulhudson b01117e
Updated documentation
richardpaulhudson 192d3cb
Simplified ops type declarations
richardpaulhudson d02fe36
Fixed mypy backwards compatibility issue
richardpaulhudson cf28895
Correct type-ignore comment
richardpaulhudson b144a17
Updated Mypy version in azure-pipelines
richardpaulhudson d269e00
Added CI checks with Python 3.7
richardpaulhudson aa55834
Any as first parameter of with_... layers
richardpaulhudson c5805aa
Revert "Any as first parameter of with_... layers"
richardpaulhudson 8340792
Tidied up init methods
richardpaulhudson cc829d0
Removed unnecessary imports
richardpaulhudson 36cc1ba
Put import statement on one line
richardpaulhudson 851edd0
Changes based on PR review comments
richardpaulhudson 3df418c
Improvements after PR feedback
richardpaulhudson 0f0089b
Went through ignore statements in layers
richardpaulhudson ac4e14b
Removed unnecessary covariance
richardpaulhudson f3afd69
Merge branch 'master' into feature/mypy-fixes
richardpaulhudson 1706fac
Improvements based on PR review
richardpaulhudson ffbab02
Remove Python 3.7 additions
richardpaulhudson ca29e5e
Reverted lstm_tagger.py changes
richardpaulhudson c1a90f7
Added ArrayTXd_co
richardpaulhudson e38d26f
Final changes before review
richardpaulhudson 6048dcc
Cast in main rather than in type-specific forward methods
richardpaulhudson 14f65dc
Added empty line
richardpaulhudson de789e6
Merge branch 'master' of https://github.com/explosion/thinc into feat…
richardpaulhudson 9617d33
Corrections
richardpaulhudson 19d749a
More corrections
richardpaulhudson a436794
Corrections
richardpaulhudson 6b50d3e
Merge branch 'explosion:master' into feature/mypy-fixes
richardpaulhudson 9e32595
Returned to ListXd types
richardpaulhudson 2232a9f
Merge branch 'feature/mypy-fixes' of https://github.com/richardpaulhu…
richardpaulhudson 069cd8b
More corrections
richardpaulhudson 7bb4af0
Further corrections
richardpaulhudson 0c657b9
Corrected model typing
richardpaulhudson bb25884
Further corrections
richardpaulhudson 8f26c8b
Corrections
richardpaulhudson 7d96a55
Tidying up
richardpaulhudson 0496371
Corrections
richardpaulhudson 2e62b7f
Removed line
richardpaulhudson a1595d1
Made imports clearer
richardpaulhudson 8bf132d
Readded line
richardpaulhudson ba2cc5c
Reformatted
richardpaulhudson cb6c274
Readded line
richardpaulhudson 4a75d94
Corrected residual.py
richardpaulhudson e6eb87b
Changed imports back to original order
richardpaulhudson d6321c7
Changes in response to review comments
richardpaulhudson 1329754
Update thinc/layers/dropout.py
richardpaulhudson 67badb6
Update thinc/layers/embed.py
richardpaulhudson 3efabfd
Changes responding to Github review
richardpaulhudson aa63aac
Reversed changes to init() return types
richardpaulhudson 3e7b52e
Reversed changes to init() return types
richardpaulhudson 91b5519
Corrected embed.py and hashembed.py
richardpaulhudson 32335c8
Corrections based on Github review
richardpaulhudson 2d77334
Fixed chain.py
richardpaulhudson 0415230
Merge branch 'master' into feature/mypy-fixes
richardpaulhudson 47d5f9b
Further correction to chain.py
richardpaulhudson 0d9f9a8
Removed unnecessary cast
richardpaulhudson e7d59d5
Updated documentation
richardpaulhudson effe597
Changes based on review
richardpaulhudson c9f6c4e
Added @overload signatures in ops
richardpaulhudson 4a4aba2
Added comment
richardpaulhudson 76e4095
Merge branch 'explosion:master' into feature/mypy-fixes
richardpaulhudson 75a7d35
Changes based on review comments
richardpaulhudson 92a9b57
Final corrections
richardpaulhudson 292ac5c
Bumped mypy version
richardpaulhudson 0efb966
Changes based on review comments
richardpaulhudson dbc4ec9
Added space to trigger CI
richardpaulhudson 6fde743
Merge branch 'develop' into feature/mypy-fixes
richardpaulhudson fa5f2cd
Corrected Pydantic version ranges
richardpaulhudson 1757c9a
Fixed mypy version range
richardpaulhudson e09bf57
Merge remote-tracking branch 'expl/develop' into feature/mypy-fixes
richardpaulhudson 8b46e2a
Correct documentation for clone
richardpaulhudson 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
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.