File tree 4 files changed +20
-17
lines changed
4 files changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ pytest>=5.2.0
21
21
pytest-cov >= 2.7.0 ,< 2.8.0
22
22
mock >= 2.0.0 ,< 3.0.0
23
23
flake8 >= 3.5.0 ,< 3.6.0
24
- mypy
24
+ mypy >= 0.901
25
+ types-mock >= 0.1.1
26
+ types-contextvars >= 0.1.2 ; python_version < "3.7"
27
+ types-dataclasses >= 0.1.3 ; python_version < "3.7"
25
28
# Executing notebook tests
26
29
ipykernel >= 5.1.4 ,< 5.2.0
27
30
nbconvert == 5.6.1 ,< 5.7.0
Original file line number Diff line number Diff line change 12
12
12: error: Layer input (thinc.types.Ragged) not compatible with previous layer input (thinc.types.Floats2d) [layer-mismatch-input]
13
13
12: error: Layer input (thinc.types.Ragged) not compatible with next layer input (thinc.types.Floats2d) [layer-mismatch-input]
14
14
12: error: Layer input (thinc.types.Floats2d) not compatible with previous layer input (thinc.types.Ragged) [layer-mismatch-input]
15
- 14: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]'
15
+ 14: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]"
16
16
17: error: Layer input (thinc.types.Floats2d) not compatible with next layer input (thinc.types.Ragged) [layer-mismatch-input]
17
17
17: error: Layer input (thinc.types.Ragged) not compatible with previous layer input (thinc.types.Floats2d) [layer-mismatch-input]
18
18
17: error: Layer input (thinc.types.Ragged) not compatible with next layer input (thinc.types.Floats2d) [layer-mismatch-input]
19
19
17: error: Layer input (thinc.types.Floats2d) not compatible with previous layer input (thinc.types.Ragged) [layer-mismatch-input]
20
- 20: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]'
20
+ 20: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]"
Original file line number Diff line number Diff line change 1
- 3: error: Need type annotation for ' good_model' [var-annotated]
2
- 4: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, Any]'
3
- 6: error: Need type annotation for ' good_model2' [var-annotated]
4
- 7: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, Any]'
5
- 9: error: Need type annotation for ' bad_model_undetected' [var-annotated]
6
- 10: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, Any]'
7
- 12: error: Need type annotation for ' bad_model_undetected2' [var-annotated]
8
- 13: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, Any]'
1
+ 3: error: Need type annotation for " good_model" [var-annotated]
2
+ 4: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, Any]"
3
+ 6: error: Need type annotation for " good_model2" [var-annotated]
4
+ 7: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, Any]"
5
+ 9: error: Need type annotation for " bad_model_undetected" [var-annotated]
6
+ 10: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, Any]"
7
+ 12: error: Need type annotation for " bad_model_undetected2" [var-annotated]
8
+ 13: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, Any]"
Original file line number Diff line number Diff line change 1
- 6: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]'
2
- 9: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]'
3
- 12: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]'
4
- 15: note: Revealed type is ' thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]'
5
- 31: error: Need type annotation for ' non_combinator_model' [var-annotated]
6
- 34: note: Revealed type is ' thinc.model.Model[Any, Any]'
1
+ 6: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]"
2
+ 9: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]"
3
+ 12: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]"
4
+ 15: note: Revealed type is " thinc.model.Model[thinc.types.Floats2d, thinc.types.Floats2d]"
5
+ 31: error: Need type annotation for " non_combinator_model" [var-annotated]
6
+ 34: note: Revealed type is " thinc.model.Model[Any, Any]"
You canโt perform that action at this time.
0 commit comments