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 Oct 27, 2024
1 parent 023f6df commit ecbddb5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/pyedb/configuration/cfg_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
# SOFTWARE.

from pyedb.configuration.cfg_common import CfgBase
from pyedb.dotnet.edb_core.general import (
pascal_to_snake,
snake_to_pascal,
)
from pyedb.dotnet.edb_core.general import pascal_to_snake, snake_to_pascal


class CfgComponent(CfgBase):
Expand Down
1 change: 0 additions & 1 deletion tests/legacy/system/test_edb_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,4 +626,3 @@ def test_properties(self, edb_examples):
}
edbapp.components["C378"].model_properties = pp
assert edbapp.components["C378"].model_properties == pp

2 changes: 1 addition & 1 deletion tests/legacy/system/test_edb_configuration_2p0.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def test_09_padstack_definition(self, edb_examples):
edbapp = edb_examples.get_si_verse()
assert edbapp.configuration.load(data, apply_file=True)
data_from_layout = edbapp.configuration.get_data_from_db(padstacks=True)
pdef = [i for i in data_from_layout["padstacks"]["definitions"] if i["name"]=="v35h15"][0]
pdef = [i for i in data_from_layout["padstacks"]["definitions"] if i["name"] == "v35h15"][0]

pad_params = pdef["pad_parameters"]
assert pad_params["regular_pad"][0]["diameter"] == "0.5mm"
Expand Down

0 comments on commit ecbddb5

Please sign in to comment.