From 1c255f60e7af3c6e4d17a826e1ebbb751c994a5a Mon Sep 17 00:00:00 2001 From: ljnsn <82611987+ljnsn@users.noreply.github.com> Date: Wed, 21 Dec 2022 20:14:46 +0100 Subject: [PATCH] Add pandas and lxml stubs. --- poetry.lock | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- pyproject.toml | 4 +++- 2 files changed, 50 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 831fd3f..1c5f474 100644 --- a/poetry.lock +++ b/poetry.lock @@ -193,6 +193,17 @@ pytz = ">=2020.1" [package.extras] test = ["hypothesis (>=5.5.3)", "pytest (>=6.0)", "pytest-xdist (>=1.31)"] +[[package]] +name = "pandas-stubs" +version = "1.5.2.221213" +description = "Type annotations for pandas" +category = "dev" +optional = false +python-versions = ">=3.8,<3.12" + +[package.dependencies] +types-pytz = ">=2022.1.1" + [[package]] name = "pathspec" version = "0.10.3" @@ -311,6 +322,28 @@ category = "dev" optional = false python-versions = ">=3.7" +[[package]] +name = "types-lxml" +version = "2022.11.8" +description = "Type annotations for lxml striving for completeness" +category = "dev" +optional = false +python-versions = ">=3.8" + +[package.dependencies] +lxml = "*" + +[package.extras] +extra = ["types-beautifulsoup4", "types-html5lib"] + +[[package]] +name = "types-pytz" +version = "2022.7.0.0" +description = "Typing stubs for pytz" +category = "dev" +optional = false +python-versions = "*" + [[package]] name = "typing-extensions" version = "4.4.0" @@ -321,8 +354,8 @@ python-versions = ">=3.7" [metadata] lock-version = "1.1" -python-versions = "^3.8.1" -content-hash = "d3f8f3fa08a744267cacc2893ff655f642fabbb172668089c6cc5d030757cbd1" +python-versions = ">=3.8.1,<3.12" +content-hash = "041b2ee251feeff626a7d18852bf0fc0fb2690322700cc294943013df874c767" [metadata.files] attrs = [ @@ -601,6 +634,10 @@ pandas = [ {file = "pandas-1.5.2-cp39-cp39-win_amd64.whl", hash = "sha256:c218796d59d5abd8780170c937b812c9637e84c32f8271bbf9845970f8c1351f"}, {file = "pandas-1.5.2.tar.gz", hash = "sha256:220b98d15cee0b2cd839a6358bd1f273d0356bf964c1a1aeb32d47db0215488b"}, ] +pandas-stubs = [ + {file = "pandas_stubs-1.5.2.221213-py3-none-any.whl", hash = "sha256:3551177a44eec5945b4e47131b6a545a564b3d41dfd4e50e06ba1a736e7d695d"}, + {file = "pandas_stubs-1.5.2.221213.tar.gz", hash = "sha256:0cbc1dbdf5dddb4d67ebc851b9cfb265bf62fe317b043bd37ee5a4a2659421f2"}, +] pathspec = [ {file = "pathspec-0.10.3-py3-none-any.whl", hash = "sha256:3c95343af8b756205e2aba76e843ba9520a24dd84f68c22b9f93251507509dd6"}, {file = "pathspec-0.10.3.tar.gz", hash = "sha256:56200de4077d9d0791465aa9095a01d421861e405b5096955051deefd697d6f6"}, @@ -645,6 +682,14 @@ tomli = [ {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, ] +types-lxml = [ + {file = "types-lxml-2022.11.8.tar.gz", hash = "sha256:858b7873b8e3936aec31b31a2ddd6f638e24938b5a1bb5b4343bab6975288622"}, + {file = "types_lxml-2022.11.8-py3-none-any.whl", hash = "sha256:7a56fa6452bac06fe5b0c61d44c1e8a7084d32778dd7bcb876ac976a3f2f7d4f"}, +] +types-pytz = [ + {file = "types-pytz-2022.7.0.0.tar.gz", hash = "sha256:4f20c2953b3a3a0587e94489ec4c9e02c3d3aedb9ba5cd7e796e12f4cfa7027e"}, + {file = "types_pytz-2022.7.0.0-py3-none-any.whl", hash = "sha256:1509f182f686ab76e9a8234f22b00b8f50d239974db0cf924b7ae8674bb31a6f"}, +] typing-extensions = [ {file = "typing_extensions-4.4.0-py3-none-any.whl", hash = "sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e"}, {file = "typing_extensions-4.4.0.tar.gz", hash = "sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa"}, diff --git a/pyproject.toml b/pyproject.toml index 4e02bc4..6629751 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = "^3.8.1" +python = ">=3.8.1,<3.12" ezodf = "^0.3.2" lxml = "^4.9.2" pandas = "^1.5.2" @@ -26,6 +26,8 @@ pytest = "^7.1.3" pytest-cov = "^4.0.0" mypy = "^0.991" flake8 = "^6.0.0" +pandas-stubs = "^1.5.2.221213" +types-lxml = "^2022.11.8" [build-system] requires = ["poetry-core>=1.0.0"]