Skip to content

Commit 57be41c

Browse files
q0wdependabot[bot]
andauthored
Issue 1193 (#1195)
* Bump mypy from 0.921 to 0.930 Bumps [mypy](https://github.com/python/mypy) from 0.921 to 0.930. - [Release notes](https://github.com/python/mypy/releases) - [Commits](python/mypy@v0.921...v0.930) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix tests Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent c07ab78 commit 57be41c

File tree

5 files changed

+33
-33
lines changed

5 files changed

+33
-33
lines changed

poetry.lock

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ trio = "^0.19"
6565
attrs = "^21.2"
6666
httpx = "^0.21"
6767

68-
mypy = "^0.921"
68+
mypy = "^0.930"
6969
wemake-python-styleguide = "^0.16"
7070
flake8-pytest-style = "^1.6"
7171
flake8-pyi = "^20.10"

typesafety/test_curry/test_curry/test_curry.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@
6767
reveal_type(zero(1, 2.0, 2.0))
6868
out: |
6969
main:7: error: No overload variant of "zero" matches argument type "str"
70-
main:7: note: Possible overload variant:
70+
main:7: note: Possible overload variants:
7171
main:7: note: def zero(arg: int) -> Callable[..., str]
72-
main:7: note: <1 more non-matching overload not shown>
72+
main:7: note: def zero(arg: int, other: float) -> str
7373
main:7: note: Revealed type is "Any"
7474
main:8: error: No overload variant of "zero" matches argument types "float", "int"
75-
main:8: note: Possible overload variant:
75+
main:8: note: Possible overload variants:
76+
main:8: note: def zero(arg: int) -> Callable[..., str]
7677
main:8: note: def zero(arg: int, other: float) -> str
77-
main:8: note: <1 more non-matching overload not shown>
7878
main:8: note: Revealed type is "Any"
7979
main:9: error: No overload variant of "zero" matches argument types "int", "float", "float"
8080
main:9: note: Possible overload variants:

typesafety/test_curry/test_partial/test_partial_arguments.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,4 @@
211211
main: |
212212
from returns.curry import partial
213213
214-
reveal_type(partial((lambda x, y: str(x + y)), 1)) # N: Revealed type is "def (Any) -> builtins.str"
214+
reveal_type(partial((lambda x, y: str(x + y)), 1)) # N: Revealed type is "def (y: Any) -> builtins.str"

typesafety/test_pointfree/test_modify_env2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
from returns.context import RequiresContext
4848
4949
x: RequiresContext[float, int]
50-
reveal_type(modify_env2(int)(x)) # N: Revealed type is "returns.context.requires_context.RequiresContext[builtins.float, Union[builtins.str, builtins.bytes, typing.SupportsInt, typing_extensions.SupportsIndex, builtins._SupportsTrunc]]"
50+
reveal_type(modify_env2(int)(x)) # N: Revealed type is "returns.context.requires_context.RequiresContext[builtins.float, Union[builtins.str, builtins.bytes, typing.SupportsInt, typing_extensions.SupportsIndex, _typeshed.SupportsTrunc]]"
5151
5252
5353
- case: modify_env2_custom_type
@@ -68,4 +68,4 @@
6868
...
6969
7070
x: MyClass[float, int]
71-
reveal_type(modify_env2(int)(x)) # N: Revealed type is "main.MyClass[builtins.float, Union[builtins.str, builtins.bytes, typing.SupportsInt, typing_extensions.SupportsIndex, builtins._SupportsTrunc]]"
71+
reveal_type(modify_env2(int)(x)) # N: Revealed type is "main.MyClass[builtins.float, Union[builtins.str, builtins.bytes, typing.SupportsInt, typing_extensions.SupportsIndex, _typeshed.SupportsTrunc]]"

0 commit comments

Comments
 (0)