From 1ff788325f9a0feca204c8973a12a499f305ac8e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:37:32 +0000 Subject: [PATCH] MISC: Auto fixes from pre-commit.com hooks For more information, see https://pre-commit.ci --- src/pyedb/common/nets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyedb/common/nets.py b/src/pyedb/common/nets.py index d4b5bc23fb..96378e4938 100644 --- a/src/pyedb/common/nets.py +++ b/src/pyedb/common/nets.py @@ -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 @@ -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: