Skip to content

Commit

Permalink
Pass mypy and link issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Aug 26, 2024
1 parent 966699e commit 15e7305
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 10 deletions.
10 changes: 4 additions & 6 deletions jaraco/site/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down Expand Up @@ -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]
26 changes: 26 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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#22
[mypy-jaraco.fabric.*]
ignore_missing_imports = True

# jaraco/svg.charts#1
[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
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,3 @@ type = [


[tool.setuptools_scm]


[tool.pytest-enabler.mypy]
# Disabled due to jaraco/skeleton#143

0 comments on commit 15e7305

Please sign in to comment.