-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: adding typesafety * fix manifest * add test dep
- Loading branch information
1 parent
a5430f1
commit 2eb5f42
Showing
8 changed files
with
69 additions
and
11 deletions.
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
- case: types_requiring_no_arguments | ||
main: | | ||
import ome_types.model as m | ||
m.OME() | ||
m.Annotation() | ||
m.BasicAnnotation() | ||
m.Dataset() | ||
m.Arc() | ||
m.Microscope() | ||
ch = m.Channel() | ||
reveal_type(ch.id) # N: Revealed type is "builtins.str" | ||
- case: types_requiring_arguments | ||
main: | | ||
import ome_types.model as m | ||
m.BinData(value=b'213', length=1) # ER: Missing named argument "big_endian" .* | ||
m.Image() # ER: Missing named argument "pixels" .* | ||
- case: extra_arguments | ||
main: | | ||
import ome_types.model as m | ||
m.Channel(idd='123') # ER: Unexpected keyword argument "idd" .* |