From 189d235532805f88cdcec79ee8f7270a1d5c5d70 Mon Sep 17 00:00:00 2001 From: EverVino Date: Sat, 3 Feb 2024 21:08:22 -0400 Subject: [PATCH] add type-lxml as dev dependency --- poetry.lock | 59 +++++++++++++++++++++++++++++++++++++------------- pyproject.toml | 2 +- 2 files changed, 45 insertions(+), 16 deletions(-) diff --git a/poetry.lock b/poetry.lock index c3e72a1b..29db5fcb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1441,20 +1441,6 @@ html5 = ["html5lib"] htmlsoup = ["BeautifulSoup4"] source = ["Cython (>=3.0.7)"] -[[package]] -name = "lxml-stubs" -version = "0.5.1" -description = "Type annotations for the lxml package" -optional = false -python-versions = "*" -files = [ - {file = "lxml-stubs-0.5.1.tar.gz", hash = "sha256:e0ec2aa1ce92d91278b719091ce4515c12adc1d564359dfaf81efa7d4feab79d"}, - {file = "lxml_stubs-0.5.1-py3-none-any.whl", hash = "sha256:1f689e5dbc4b9247cb09ae820c7d34daeb1fdbd1db06123814b856dae7787272"}, -] - -[package.extras] -test = ["coverage[toml] (>=7.2.5)", "mypy (>=1.2.0)", "pytest (>=7.3.0)", "pytest-mypy-plugins (>=1.10.1)"] - [[package]] name = "makim" version = "1.12.0" @@ -3342,6 +3328,49 @@ dev = ["autoflake (>=1.3.1,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)", "pre-commit (>=2 doc = ["cairosvg (>=2.5.2,<3.0.0)", "mdx-include (>=1.4.1,<2.0.0)", "mkdocs (>=1.1.2,<2.0.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "pillow (>=9.3.0,<10.0.0)"] test = ["black (>=22.3.0,<23.0.0)", "coverage (>=6.2,<7.0)", "isort (>=5.0.6,<6.0.0)", "mypy (==0.910)", "pytest (>=4.4.0,<8.0.0)", "pytest-cov (>=2.10.0,<5.0.0)", "pytest-sugar (>=0.9.4,<0.10.0)", "pytest-xdist (>=1.32.0,<4.0.0)", "rich (>=10.11.0,<14.0.0)", "shellingham (>=1.3.0,<2.0.0)"] +[[package]] +name = "types-beautifulsoup4" +version = "4.12.0.20240106" +description = "Typing stubs for beautifulsoup4" +optional = false +python-versions = ">=3.8" +files = [ + {file = "types-beautifulsoup4-4.12.0.20240106.tar.gz", hash = "sha256:98d628985b71b140bd3bc22a8cb0ab603c2f2d08f20d37925965eb4a21739be8"}, + {file = "types_beautifulsoup4-4.12.0.20240106-py3-none-any.whl", hash = "sha256:cbdd60ab8aeac737ac014431b6e921b43e84279c0405fdd25a6900bb0e71da5b"}, +] + +[package.dependencies] +types-html5lib = "*" + +[[package]] +name = "types-html5lib" +version = "1.1.11.20240106" +description = "Typing stubs for html5lib" +optional = false +python-versions = ">=3.8" +files = [ + {file = "types-html5lib-1.1.11.20240106.tar.gz", hash = "sha256:fc3a1b18eb601b3eeaf92c900bd67675c0a4fa1dd1d2a2893ebdb46923547ee9"}, + {file = "types_html5lib-1.1.11.20240106-py3-none-any.whl", hash = "sha256:61993cb89220107481e0f1da65c388ff8cf3d8c5f6e8483c97559639a596b697"}, +] + +[[package]] +name = "types-lxml" +version = "2023.10.21" +description = "Complete lxml external type annotation" +optional = false +python-versions = ">=3.8" +files = [ + {file = "types-lxml-2023.10.21.tar.gz", hash = "sha256:daf1458b7d9b2fb421354137b97c6029c4fe75cef2cbab0d8e144d8c548d9b98"}, + {file = "types_lxml-2023.10.21-py3-none-any.whl", hash = "sha256:545097ca5f69d568827416d671285cae203a5b3d99937294e155c4cc0e46e712"}, +] + +[package.dependencies] +types-beautifulsoup4 = "*" +typing-extensions = ">=4.5,<5.0" + +[package.extras] +dev = ["black", "isort (>=5)", "lxml (==4.9.*)", "mypy (>=1.1,<1.4)", "pyright (>=1.1.289,<1.1.332)", "pytest (>=7)", "pytest-mypy-plugins (>=1.10.1,<2.0)", "typeguard (==3.0.*)"] + [[package]] name = "types-python-dateutil" version = "2.8.19.20240106" @@ -3579,4 +3608,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">3.8.1,<4" -content-hash = "2e636c797a1935f1305279257081cad794a2ebb63809c64c0c04ec2a7dd0b3f8" +content-hash = "85d692f0f6af3f63b985b08ab1f0e94fa002a8ca48552f1bc4e93c9c319ababc" diff --git a/pyproject.toml b/pyproject.toml index 6103e61f..5dee61b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ mkdocstrings-python = ">=1.1.2" jupyterlab = ">=4.0.5" makim = "1.12.0" requests-cache = ">=1" -lxml-stubs = "^0.5.1" +types-lxml = "^2023.10.21" [tool.pytest.ini_options] testpaths = [