diff options
| author | skullydazed <skullydazed@users.noreply.github.com> | 2019-11-20 14:54:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-20 14:54:18 -0800 |
| commit | f7bdc54c697ff24bec1bd0781666ac05401bafb2 (patch) | |
| tree | 704511c89bd36582fcd0a4a05ae4812222d9b11c /lib/python/qmk/cli/flash.py | |
| parent | d2115f7d1c3a314e997ec6800b6741d83115d6be (diff) | |
| download | qmk_firmware-f7bdc54c697ff24bec1bd0781666ac05401bafb2.tar.gz qmk_firmware-f7bdc54c697ff24bec1bd0781666ac05401bafb2.zip | |
Add flake8 to our test suite and fix all errors (#7379)
* Add flake8 to our test suite and fix all errors
* Add some documentation
Diffstat (limited to 'lib/python/qmk/cli/flash.py')
| -rw-r--r-- | lib/python/qmk/cli/flash.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/python/qmk/cli/flash.py b/lib/python/qmk/cli/flash.py index 37556aaaf..031cb9496 100644 --- a/lib/python/qmk/cli/flash.py +++ b/lib/python/qmk/cli/flash.py | |||
| @@ -3,17 +3,11 @@ | |||
| 3 | You can compile a keymap already in the repo or using a QMK Configurator export. | 3 | You can compile a keymap already in the repo or using a QMK Configurator export. |
| 4 | A bootloader must be specified. | 4 | A bootloader must be specified. |
| 5 | """ | 5 | """ |
| 6 | import os | ||
| 7 | import sys | ||
| 8 | import subprocess | 6 | import subprocess |
| 9 | from argparse import FileType | ||
| 10 | |||
| 11 | from milc import cli | ||
| 12 | from qmk.commands import create_make_command | ||
| 13 | from qmk.commands import parse_configurator_json | ||
| 14 | from qmk.commands import compile_configurator_json | ||
| 15 | 7 | ||
| 16 | import qmk.path | 8 | import qmk.path |
| 9 | from milc import cli | ||
| 10 | from qmk.commands import compile_configurator_json, create_make_command, parse_configurator_json | ||
| 17 | 11 | ||
| 18 | 12 | ||
| 19 | def print_bootloader_help(): | 13 | def print_bootloader_help(): |
