Add types-mock for typechecking

This commit is contained in:
valrus 2024-12-31 17:22:53 -08:00
parent 80a10c7e4e
commit c9afb8664b
2 changed files with 14 additions and 2 deletions

15
poetry.lock generated
View file

@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. # This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand.
[[package]] [[package]]
name = "accessible-pygments" name = "accessible-pygments"
@ -3111,6 +3111,17 @@ files = [
{file = "types_html5lib-1.1.11.20241018-py3-none-any.whl", hash = "sha256:3f1e064d9ed2c289001ae6392c84c93833abb0816165c6ff0abfc304a779f403"}, {file = "types_html5lib-1.1.11.20241018-py3-none-any.whl", hash = "sha256:3f1e064d9ed2c289001ae6392c84c93833abb0816165c6ff0abfc304a779f403"},
] ]
[[package]]
name = "types-mock"
version = "5.1.0.20240425"
description = "Typing stubs for mock"
optional = false
python-versions = ">=3.8"
files = [
{file = "types-mock-5.1.0.20240425.tar.gz", hash = "sha256:5281a645d72e827d70043e3cc144fe33b1c003db084f789dc203aa90e812a5a4"},
{file = "types_mock-5.1.0.20240425-py3-none-any.whl", hash = "sha256:d586a01d39ad919d3ddcd73de6cde73ca7f3c69707219f722d1b8d7733641ad7"},
]
[[package]] [[package]]
name = "types-pillow" name = "types-pillow"
version = "10.2.0.20240822" version = "10.2.0.20240822"
@ -3274,4 +3285,4 @@ web = ["flask", "flask-cors"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = ">=3.9,<4" python-versions = ">=3.9,<4"
content-hash = "b6b44295999e2b8c3868b03321df60a2501abc9162a7e802de37ab2ae8aa14ff" content-hash = "2edbbe1f3488fb9d3a05e2d60c23d3fd1afaa8154d2a71ffad83b34476ceac78"

View file

@ -101,6 +101,7 @@ ruff = ">=0.6.4"
[tool.poetry.group.typing.dependencies] [tool.poetry.group.typing.dependencies]
mypy = "*" mypy = "*"
types-beautifulsoup4 = "*" types-beautifulsoup4 = "*"
types-mock = "*"
types-Flask-Cors = "*" types-Flask-Cors = "*"
types-Pillow = "*" types-Pillow = "*"
types-PyYAML = "*" types-PyYAML = "*"