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