Skip to content

Commit

Permalink
Flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jvestman committed Mar 1, 2020
1 parent 469a63e commit e0b90ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def generate(args):
if args.get('usb_connector', 'No USB connector') != 'No USB connector':
code += generate_usb_connector(args)

if args.get('powersource', 'No battery') != 'No battery' or args.get('usb_connector', 'No USB connector') != 'No USB connector':
if args.get('powersource', 'No battery') != 'No battery' \
or args.get('usb_connector', 'No USB connector') != 'No USB connector':
code += connect_power_network(args)

if args.get('usb_uart', False) == 'FT231':
Expand Down Expand Up @@ -138,7 +139,8 @@ def generate(args):
if args.get('board_footprint', False) == 'Adafruit Feather':
code += generate_adafruit_feather(args)

if args.get('mcu') in ['ESP8266EX', 'ESP-12E', 'ESP-07'] and args.get('board_footprint') == 'Adafruit Feather':
if args.get('mcu') in ['ESP8266EX', 'ESP-12E', 'ESP-07'] \
and args.get('board_footprint') == 'Adafruit Feather':
code += generate_adadafruit_feather_esp_connections(args)

if args.get('title') and args.get('generate_labels'):
Expand Down
2 changes: 1 addition & 1 deletion skimibowi.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from PyQt5 import QtCore
from PyQt5 import QtWidgets
from controller import footprints
from controller import battery_footprints
from controller import battery_footprints
from controller import regulators
from controller import resistor_footprints
from controller import usb_connector_footprints
Expand Down

0 comments on commit e0b90ac

Please sign in to comment.