Skip to content

Commit

Permalink
Fix mypy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Nov 8, 2020
1 parent a4dedbb commit 61295a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ disallow_any_unimported = True
warn_return_any = True

[mypy-tests.*]
disallow_any_decorated = False
disallow_untyped_calls = False
disallow_untyped_defs = False
2 changes: 1 addition & 1 deletion aiohttp_jinja2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _render_string(
def render_string(
template_name: str,
request: web.Request,
context: Optional[Mapping[str, Any]],
context: Mapping[str, Any],
*,
app_key: str = APP_KEY,
) -> str:
Expand Down

0 comments on commit 61295a2

Please sign in to comment.