diff options
Diffstat (limited to 'src/ee/tools')
-rw-r--r-- | src/ee/tools/import_parts_yaml.py | 3 | ||||
-rw-r--r-- | src/ee/tools/init.py | 2 | ||||
-rwxr-xr-x | src/ee/tools/kicad_gerber.py | 5 | ||||
-rw-r--r-- | src/ee/tools/kicad_make_pos.py | 4 | ||||
-rw-r--r-- | src/ee/tools/kicad_mkdeps.py | 3 | ||||
-rw-r--r-- | src/ee/tools/read_ltspice_raw.py | 4 |
6 files changed, 12 insertions, 9 deletions
diff --git a/src/ee/tools/import_parts_yaml.py b/src/ee/tools/import_parts_yaml.py index 9b8e3bf..25c1b9c 100644 --- a/src/ee/tools/import_parts_yaml.py +++ b/src/ee/tools/import_parts_yaml.py @@ -1,8 +1,9 @@ import argparse import sys -import yaml from pathlib import Path +import yaml + from ee.part import PartDb, save_db from ee.xml import types diff --git a/src/ee/tools/init.py b/src/ee/tools/init.py index c3d7e41..156d1b7 100644 --- a/src/ee/tools/init.py +++ b/src/ee/tools/init.py @@ -1,9 +1,9 @@ import argparse +import configparser from pathlib import Path from typing import List from ee.project import Project -import configparser def init_kicad_project(basedir: Path, cfg, args): diff --git a/src/ee/tools/kicad_gerber.py b/src/ee/tools/kicad_gerber.py index 7f15154..0389509 100755 --- a/src/ee/tools/kicad_gerber.py +++ b/src/ee/tools/kicad_gerber.py @@ -1,7 +1,8 @@ from __future__ import print_function -import sys -import os + import argparse +import os +import sys try: from pcbnew import * diff --git a/src/ee/tools/kicad_make_pos.py b/src/ee/tools/kicad_make_pos.py index 0b5e9b4..8986871 100644 --- a/src/ee/tools/kicad_make_pos.py +++ b/src/ee/tools/kicad_make_pos.py @@ -1,10 +1,10 @@ -import sys import argparse import csv import datetime as dt +import sys + from . import mk_parents from ..kicad import pcb, parse_ref -from .._utils import run_filters parser = argparse.ArgumentParser(description="Create a pick and place file from a KiCAD schematic") diff --git a/src/ee/tools/kicad_mkdeps.py b/src/ee/tools/kicad_mkdeps.py index 0973416..91411d9 100644 --- a/src/ee/tools/kicad_mkdeps.py +++ b/src/ee/tools/kicad_mkdeps.py @@ -1,5 +1,6 @@ -import sys import argparse +import sys + import ee.kicad as kicad out_file = sys.stdout diff --git a/src/ee/tools/read_ltspice_raw.py b/src/ee/tools/read_ltspice_raw.py index c5cd71b..cd837ea 100644 --- a/src/ee/tools/read_ltspice_raw.py +++ b/src/ee/tools/read_ltspice_raw.py @@ -1,6 +1,7 @@ -import ee.ltspice import sys +import ee.ltspice + raw = ee.ltspice.read_ltspice_raw(sys.argv[1]) # print("Variables:") @@ -21,7 +22,6 @@ import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt -from matplotlib.ticker import FuncFormatter, MaxNLocator fig = plt.figure() ax = fig.add_subplot(111) |