Skip to content

Commit e59eeb3

Browse files
fix: break long line in diagram.py to pass lint
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d5bdf51 commit e59eeb3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/datajoint/diagram.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,10 @@ def make_dot(self):
747747
if cls is not None:
748748
description = cls().describe(context=self.context).split("\n")
749749
description = (
750-
("-" * 30 if q.startswith("---") else (q.replace("->", "&#8594;") if "->" in q else q.split(":")[0]))
750+
(
751+
"-" * 30 if q.startswith("---")
752+
else (q.replace("->", "&#8594;") if "->" in q else q.split(":")[0])
753+
)
751754
for q in description
752755
if not q.startswith("#")
753756
)

0 commit comments

Comments
 (0)