From 9bbb4f8f3a1d8e2bfe1f06c945081153435de940 Mon Sep 17 00:00:00 2001
From: Trygve Laugstøl <trygvis@inamo.no>
Date: Mon, 20 May 2019 23:36:49 +0200
Subject: o Replacing digikey-normalize-facts with part-apply-function. Moving
 code from tool to ee.digikey.functions.

---
 src/ee/kicad/functions.py | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/ee/kicad')

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
-- 
cgit v1.2.3