Skip to content

Commit

Permalink
MISC: Auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
For more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 18, 2024
1 parent 72aaa9f commit 1ff7883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyedb/common/nets.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def create_poly(prim, polys, lines):
try:
edge_colors[label] = [i * 0.5 for i in label_colors[label]]
except TypeError:
edge_colors[label] =label_colors[label]
edge_colors[label] = label_colors[label]
color_index += 1
if color_index >= len(CSS4_COLORS):
color_index = 0
Expand Down Expand Up @@ -394,7 +394,7 @@ def create_poly(prim, polys, lines):
try:
edge_colors[label] = [i * 0.5 for i in c]
except TypeError:
edge_colors[label] =label_colors[label]
edge_colors[label] = label_colors[label]
for prim in prims:
create_poly(prim, polys, lines)
if polys:
Expand Down

0 comments on commit 1ff7883

Please sign in to comment.