Run black on template.py

This commit is contained in:
Eric Lapouyade 2025-07-15 15:46:03 +02:00
parent cbbeae57bd
commit 416729dddc

View File

@ -887,7 +887,9 @@ class DocxTemplate(object):
self.is_saved = True
def get_undeclared_template_variables(
self, jinja_env: Optional[Environment] = None, context: Optional[Dict[str, Any]] = None
self,
jinja_env: Optional[Environment] = None,
context: Optional[Dict[str, Any]] = None,
) -> Set[str]:
# Create a temporary document to analyze the template without affecting the current state
temp_doc = Document(self.template_file)