Skip to content

Commit 6a0ce89

Browse files
authored
Update deps (#1670)
* Update deps * Fix CI
1 parent 095d0b6 commit 6a0ce89

File tree

4 files changed

+85
-97
lines changed

4 files changed

+85
-97
lines changed

poetry.lock

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

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@ _ = "returns.contrib.hypothesis._entrypoint"
4646

4747

4848
[tool.poetry.dependencies]
49-
python = "^3.8"
49+
python = ">= 3.8.1,<4.0"
5050

5151
typing-extensions = ">=4.0,<5.0"
52-
mypy = { version = "^1.4.0", optional = true }
52+
mypy = { version = ">=1.5,<1.6", optional = true }
5353

5454
[tool.poetry.dev-dependencies]
5555
anyio = "^3.7"
5656
trio = "^0.22"
5757
attrs = "^23.1"
5858
httpx = "^0.24"
5959

60-
wemake-python-styleguide = "^0.17"
60+
wemake-python-styleguide = "^0.18"
6161
flake8-pytest-style = "^1.6"
62-
flake8-pyi = "^23.4"
62+
flake8-pyi = "^23.6"
6363
nitpick = "^0.33"
6464
codespell = "^2.2"
6565
slotscheck = "^0.16"
@@ -87,7 +87,7 @@ compatible-mypy = ["mypy"]
8787

8888

8989
[build-system]
90-
requires = ["poetry-core>=1.5.0"]
90+
requires = ["poetry-core>=1.6.0"]
9191
build-backend = "poetry.core.masonry.api"
9292

9393

returns/primitives/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def container_equality(
7676
7777
Compares both their types and their inner values.
7878
"""
79-
if type(self) != type(other): # noqa: WPS516
79+
if type(self) != type(other): # noqa: WPS516, E721
8080
return False
8181
return bool(
8282
self._inner_value == other._inner_value, # type: ignore # noqa: WPS437

tests/test_primitives/test_container/test_base_container/test_pickle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def __init__(self, inner_value: Any) -> None:
1212
self.inner_value = inner_value
1313

1414
def __eq__(self, other: Any) -> bool:
15-
return (
15+
return ( # noqa: E721
1616
type(other) == type(self) and # noqa: WPS516
1717
self.inner_value == other.inner_value
1818
)

0 commit comments

Comments
 (0)