From 1b730fea07cda57e71fce23ac31c03c920877f4b Mon Sep 17 00:00:00 2001 From: Avasam Date: Tue, 27 Aug 2024 14:22:14 -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 1d9f7da..d477f86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,6 +63,7 @@ type = [ "pytest-mypy", # local + "lxml-stubs", ] @@ -72,7 +73,3 @@ zip-listdir = "openpack.editor:pack_dir_cmd" [tool.setuptools_scm] - - -[tool.pytest-enabler.mypy] -# Disabled due to jaraco/skeleton#143