Skip to content

Commit 3ef64a5

Browse files
committed
lint error fixes
1 parent 3a8f66d commit 3ef64a5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lambeq/backend/drawing/drawable.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -850,8 +850,8 @@ def _add_box(
850850
off: int,
851851
x_pos: float,
852852
y_pos: float,
853-
input_nouns: list[str] = None
854-
) -> tuple[list[int], int, list[str]]:
853+
input_nouns: list[int] = None
854+
) -> tuple[list[int], int, list[int]]:
855855
"""Add a box to the graph, creating necessary wire endpoints.
856856
857857
Returns
@@ -957,7 +957,6 @@ def _add_box(
957957
return (scan[:off] + scan_insert + scan[off + len(box.dom):],
958958
box_ind, input_nouns)
959959

960-
961960
def _make_space_for_frame(self,
962961
scan: list[int],
963962
off: int,

lambeq/backend/drawing/tikz_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def draw_wire(self,
126126
color_id: int = 0,
127127
**params) -> None:
128128

129-
color = self._get_wire_color(color_id, **params)
129+
# color = self._get_wire_color(color_id, **params)
130130
out = (-90 if not bend_out or source[0] == target[0]
131131
else (180 if source[0] > target[0] else 0))
132132
inp = (90 if not bend_in or source[0] == target[0]

0 commit comments

Comments
 (0)