diff --git a/jaraco/site/controllers.py b/jaraco/site/controllers.py index 5f6c181..c44e1bd 100644 --- a/jaraco/site/controllers.py +++ b/jaraco/site/controllers.py @@ -4,13 +4,11 @@ import cherrypy +from jaraco.site import output, render from jaraco.site.charts import Charts -from jaraco.site import render, output from jaraco.site.projecthoneypot import from_cherrypy -from . import resume -from . import landing -from . import projects +from . import landing, projects, resume log = logging.getLogger(__name__) @@ -132,5 +130,5 @@ def there(self): return "You got there!" -Root.ip = IPTool() # type: ignore -Root.auth_demo = AuthRedirectDemo() # type: ignore +Root.ip = IPTool() # type: ignore[attr-defined] +Root.auth_demo = AuthRedirectDemo() # type: ignore[attr-defined] diff --git a/mypy.ini b/mypy.ini index 3abe40a..fc29262 100644 --- a/mypy.ini +++ b/mypy.ini @@ -16,3 +16,29 @@ disable_error_code = overload-overlap # workaround for realpython/pytest-mypy#160 [mypy-jaraco.site.projecthoneypot.*] ignore_errors = True + +# jaraco/jaraco.develop#22 +[mypy-jaraco.develop.*] +ignore_missing_imports = True + +# jaraco/jaraco.fabric#8 +[mypy-jaraco.fabric.*] +ignore_missing_imports = True + +# jaraco/svg.charts#31 +[mypy-svg.charts.*] +ignore_missing_imports = True + +# cherrypy/cherrypy#1510 +[mypy-cherrypy.*] +ignore_missing_imports = True + +# requests/toolbelt#279 +[mypy-requests_toolbelt.*] +ignore_missing_imports = True + +# TODO: Raise issue upstream +[mypy-genshi.*] +ignore_missing_imports = True +[mypy-fabric.*] +ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml index cf803f3..f37a9f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,11 +70,8 @@ type = [ "pytest-mypy", # local + "lxml-stubs", ] [tool.setuptools_scm] - - -[tool.pytest-enabler.mypy] -# Disabled due to jaraco/skeleton#143