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 3cbfb98 commit ed73d0e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/pyedb/common/nets.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import math
import time
import os
import time

from pyedb.generic.constants import CSS4_COLORS


def is_notebook():
"""Check if pyaedt is running in Jupyter or not.
Expand Down Expand Up @@ -36,12 +38,11 @@ def is_ipython():
except NameError:
return False # Probably standard Python interpreter


class CommonNets:
def __init__(self, _pedb):
self._pedb = _pedb



def plot(
self,
nets=None,
Expand Down
1 change: 0 additions & 1 deletion src/pyedb/dotnet/edb_core/edb_data/nets_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def plot(
size=size,
show=show,
plot_vias=plot_vias,

)

def get_smallest_trace_width(self):
Expand Down
2 changes: 0 additions & 2 deletions src/pyedb/dotnet/edb_core/nets.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ def _get_points_for_plot(self, my_net_points):
# fmt: on
return x, y


def classify_nets(self, power_nets=None, signal_nets=None):
"""Reassign power/ground or signal nets based on list of nets.
Expand Down Expand Up @@ -414,7 +413,6 @@ def classify_nets(self, power_nets=None, signal_nets=None):
self.nets[net].net_object.SetIsPowerGround(False)
return True


def is_power_gound_net(self, netname_list):
"""Determine if one of the nets in a list is power or ground.
Expand Down

0 comments on commit ed73d0e

Please sign in to comment.