From 28ff65d37422c4f11d27f3a8be36a0f42359362e Mon Sep 17 00:00:00 2001 From: Avasam Date: Tue, 27 Aug 2024 15:02:36 -0400 Subject: [PATCH] Pass mypy and link issues --- mypy.ini | 4 ++++ pyproject.toml | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mypy.ini b/mypy.ini index efcb8cb..18ade35 100644 --- a/mypy.ini +++ b/mypy.ini @@ -13,3 +13,7 @@ explicit_package_bases = True disable_error_code = # Disable due to many false positives overload-overlap, + +# lxml/lxml-stubs#30 +[mypy-lxml.builder.*] +ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml index 5f38e55..c9faab0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,11 +62,8 @@ type = [ "pytest-mypy", # local + "lxml-stubs", ] [tool.setuptools_scm] - - -[tool.pytest-enabler.mypy] -# Disabled due to jaraco/skeleton#143