run pre-commit

This commit is contained in:
Denis Leemann
2021-11-23 15:56:02 +01:00
committed by Alexis de Lattre
parent 96a69faf88
commit 70f8ba2f3a
6 changed files with 20 additions and 25 deletions

View File

@@ -92,12 +92,11 @@ class Py3oParserContext(object):
self._env, value, lang_code=lang_code, date_format=date_format
)
def _format_datetime(self, value, tz=False, dt_format='medium', lang_code=False):
def _format_datetime(self, value, tz=False, dt_format="medium", lang_code=False):
return misc.format_datetime(
self._env, value, tz=tz, dt_format=dt_format, lang_code=lang_code
)
def _old_format_lang(
self,
value,