summaryrefslogtreecommitdiff
path: root/lib/python/qmk
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-05-09 11:30:17 -0700
committerGitHub <noreply@github.com>2021-05-09 11:30:17 -0700
commit5c924efa04c072d0d40c172ede86d5a7a68456ab (patch)
tree65af98f0ea5d902dc9267f788b5ce121ee66b78d /lib/python/qmk
parent30aae6298bb9f31a172dbc36817965bc415519b8 (diff)
fix the makefile snippet so flake8 and yapf don't fight (#12849)
Diffstat (limited to 'lib/python/qmk')
-rwxr-xr-xlib/python/qmk/cli/multibuild.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/qmk/cli/multibuild.py b/lib/python/qmk/cli/multibuild.py
index 517513fc66..a4f0a0cc03 100755
--- a/lib/python/qmk/cli/multibuild.py
+++ b/lib/python/qmk/cli/multibuild.py
@@ -57,6 +57,7 @@ def multibuild(cli):
with open(makefile, "w") as f:
for keyboard_name in keyboard_list:
keyboard_safe = keyboard_name.replace('/', '_')
+ # yapf: disable
f.write(
f"""\
all: {keyboard_safe}_binary
@@ -70,9 +71,8 @@ all: {keyboard_safe}_binary
|| printf "Build %-64s \e[1;32m[OK]\e[0m\\n" "{keyboard_name}:default"
@rm -f "{QMK_FIRMWARE}/.build/build.log.{keyboard_safe}" || true
-"""
-
- # noqa: yapf should not care about the formatting of the Makefile
+"""# noqa
)
+ # yapf: enable
cli.run([make_cmd, '-j', str(cli.args.parallel), '-f', makefile, 'all'], capture_output=False, text=False)