diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-06-03 17:25:17 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-06-03 17:31:43 +0300 |
commit | b8fbd3d9c64b8bf12d2cdc091798faad7513e820 (patch) | |
tree | 0c0ddfd27e4dbe86ad73994523e941ffee5c03e8 /sphinx/jinja2glue.py | |
parent | e3f9bf43f617b17937df255519337ebda897f46b (diff) |
Fix mypy violations (with mypy-0.780)
Diffstat (limited to 'sphinx/jinja2glue.py')
-rw-r--r-- | sphinx/jinja2glue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/jinja2glue.py b/sphinx/jinja2glue.py index e943cfb1e..52d0257e5 100644 --- a/sphinx/jinja2glue.py +++ b/sphinx/jinja2glue.py @@ -186,7 +186,7 @@ class BuiltinTemplateLoader(TemplateBridge, BaseLoader): self.environment.globals['accesskey'] = contextfunction(accesskey) self.environment.globals['idgen'] = idgen if use_i18n: - self.environment.install_gettext_translations(builder.app.translator) # type: ignore # NOQA + self.environment.install_gettext_translations(builder.app.translator) def render(self, template: str, context: Dict) -> str: # type: ignore return self.environment.get_template(template).render(context) |