diff --git a/c2c/template/__init__.py b/c2c/template/__init__.py index fc60f99..c640b3d 100644 --- a/c2c/template/__init__.py +++ b/c2c/template/__init__.py @@ -392,12 +392,16 @@ def set_path(item: tuple[dict[str, Any], str], value: str) -> None: def _proceed(files: list[tuple[str, str]], used_vars: dict[str, Any], options: Namespace) -> None: if options.engine == "jinja": - from bottle import jinja2_template as engine # type: ignore # pylint: disable=import-outside-toplevel + from bottle import ( + jinja2_template as engine, # type: ignore # pylint: disable=import-outside-toplevel + ) bottle_template(files, used_vars, engine) elif options.engine == "mako": - from bottle import mako_template as engine # pylint: disable=import-outside-toplevel + from bottle import ( + mako_template as engine, # pylint: disable=import-outside-toplevel + ) bottle_template(files, used_vars, engine)