Fixed small flake8 details

This commit is contained in:
Salvador E. Tropea 2020-09-21 20:02:50 -03:00
parent 7a7fc0a87d
commit 659ae27e7b
2 changed files with 3 additions and 3 deletions

View File

@ -50,8 +50,8 @@ KICAD_VERSION_5_99 = 5099000
# Internal filter names
IFILL_MECHANICAL = '_mechanical'
# KiCad 5 GUI values for the attribute
UI_THT = 0 # 1 for KiCad 6
UI_SMD = 1 # 2 for KiCad 6
UI_THT = 0 # 1 for KiCad 6
UI_SMD = 1 # 2 for KiCad 6
UI_VIRTUAL = 2 # 12 for KiCad 6
# KiCad 6 module attributes from class_module.h
MOD_THROUGH_HOLE = 1

View File

@ -7,7 +7,7 @@
# Adapted from: https://github.com/johnbeard/kiplot/pull/10
import operator
from datetime import datetime
from pcbnew import (IU_PER_MM, IU_PER_MILS, GetBuildVersion)
from pcbnew import IU_PER_MM, IU_PER_MILS
from .gs import GS
from .misc import UI_SMD, UI_VIRTUAL, KICAD_VERSION_5_99, MOD_THROUGH_HOLE, MOD_SMD, MOD_EXCLUDE_FROM_POS_FILES
from .out_base import VariantOptions