Skip to content

Commit 1dbc387

Browse files
build(deps-dev): bump mypy from 1.3.0 to 1.4.1 (#68)
Bumps [mypy](https://github.com/python/mypy) from 1.3.0 to 1.4.1. - [Commits](python/mypy@v1.3.0...v1.4.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 9821d39 commit 1dbc387

File tree

4 files changed

+39
-48
lines changed

4 files changed

+39
-48
lines changed

poetry.lock

Lines changed: 34 additions & 35 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
@@ -20,7 +20,7 @@ python = "^3.9"
2020
[tool.poetry.group.dev.dependencies]
2121
shed = ">=0.9.5,<2023.7.0"
2222
pylint = "^2.13.7"
23-
mypy = ">=0.942,<1.4"
23+
mypy = ">=0.942,<1.5"
2424
pytest = "^7.1.1"
2525
pytest-cov = ">=3,<5"
2626
typeguard = "^2.13.3"

tests/unit/test_empty.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111

1212

1313
@hypothesis.given(
14-
value=st.sampled_from([list, set, tuple, frozenset]).map(
15-
lambda x: x() # type: ignore
16-
),
14+
value=st.sampled_from([list, set, tuple, frozenset]).map(lambda x: x()),
1715
)
1816
def test_should_match_empty_collections(
1917
value: typing.Union[list[None], set[None], tuple[None, ...], frozenset[None]]
@@ -28,9 +26,7 @@ def test_should_match_empty_collections(
2826
value=st.tuples(
2927
st.sampled_from([list, set, tuple, frozenset]),
3028
st.lists(elements=st.integers(), min_size=1),
31-
).map(
32-
lambda x: x[0](x[1]) # type: ignore
33-
),
29+
).map(lambda x: x[0](x[1])),
3430
)
3531
def test_should_not_match_other_values(
3632
value: typing.Union[list[int], set[int], tuple[int, ...], frozenset[int]]

tests/unit/test_length_of.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
value=st.tuples(
1515
st.sampled_from([list, set, tuple, frozenset]),
1616
st.lists(elements=st.integers(), min_size=1),
17-
).map(
18-
lambda x: x[0](x[1]) # type: ignore
19-
),
17+
).map(lambda x: x[0](x[1])),
2018
)
2119
def test_should_match_itself(
2220
value: typing.Union[list[int], set[int], tuple[int, ...], frozenset[int]]
@@ -31,9 +29,7 @@ def test_should_match_itself(
3129
value=st.tuples(
3230
st.sampled_from([list, set, tuple, frozenset]),
3331
st.lists(elements=st.integers(), min_size=1),
34-
).map(
35-
lambda x: x[0](x[1]) # type: ignore
36-
),
32+
).map(lambda x: x[0](x[1])),
3733
other=st.integers(),
3834
)
3935
def test_should_not_match_other_values(

0 commit comments

Comments
 (0)