aboutsummaryrefslogtreecommitdiff
path: root/src/ee/kicad
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee/kicad')
-rw-r--r--src/ee/kicad/functions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ee/kicad/functions.py b/src/ee/kicad/functions.py
index 2d8106a..c0d1780 100644
--- a/src/ee/kicad/functions.py
+++ b/src/ee/kicad/functions.py
@@ -39,6 +39,7 @@ def part_type_from_ref_type(ref_type):
return uris.TRANSISTOR
+# noinspection PyUnusedLocal
def part_type_strategy(**kwargs):
def on_part(part: Part) -> Part:
pt = None
@@ -62,6 +63,7 @@ def part_type_strategy(**kwargs):
return on_part
+# noinspection PyUnusedLocal
def fix_value_strategy(**kwargs):
def on_part(part: Part) -> Part:
ref = part.get_only_schematic_reference()
@@ -91,6 +93,7 @@ def fix_value_strategy(**kwargs):
return on_part
+# noinspection PyUnusedLocal
def mpn_strategy(**kwargs):
def on_part(part: Part) -> Part:
for field in part.facts.all(sch_fact_types.field):
@@ -104,6 +107,7 @@ def mpn_strategy(**kwargs):
return on_part
+# noinspection PyUnusedLocal
def map_footprint(footprint_mappings=None, **kwargs):
if footprint_mappings is None:
return None