Skip to content

Commit bbf3948

Browse files
committed
black format
1 parent 766ca41 commit bbf3948

File tree

1 file changed

+2
-2
lines changed
  • src/django_idom/templatetags

1 file changed

+2
-2
lines changed

src/django_idom/templatetags/idom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
def idom_component(_component_id_, **kwargs):
2121
_register_component(_component_id_)
2222

23-
class_ = kwargs.pop("class","")
23+
class_ = kwargs.pop("class", "")
2424
json_kwargs = json.dumps(kwargs, separators=(",", ":"))
2525

2626
return {
@@ -29,7 +29,7 @@ def idom_component(_component_id_, **kwargs):
2929
"idom_web_modules_url": IDOM_WEB_MODULES_URL,
3030
"idom_mount_uuid": uuid4().hex,
3131
"idom_component_id": _component_id_,
32-
"idom_component_params": urlencode({"kwargs": json_kwargs})
32+
"idom_component_params": urlencode({"kwargs": json_kwargs}),
3333
}
3434

3535

0 commit comments

Comments
 (0)