diff options
author | Zach White <skullydazed@gmail.com> | 2021-09-27 10:02:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 10:02:54 -0700 |
commit | fce9cb933845bf0b74d322eba02de3b76daaeb84 (patch) | |
tree | a28ffc6f3c53a4ddf1004f1a99938e2e5a42e6c3 /lib/python/qmk/cli/generate/layouts.py | |
parent | 5f38a98fa07677be960b71b8e3b0a1785effe0d8 (diff) | |
download | qmk_firmware-fce9cb933845bf0b74d322eba02de3b76daaeb84.tar.gz qmk_firmware-fce9cb933845bf0b74d322eba02de3b76daaeb84.zip |
Cleanup issues identified by lgtm (#14459)
* cleanup issues identified by lgtm
* fix the git_status check
Diffstat (limited to 'lib/python/qmk/cli/generate/layouts.py')
-rwxr-xr-x | lib/python/qmk/cli/generate/layouts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/generate/layouts.py b/lib/python/qmk/cli/generate/layouts.py index 4de982f82..e44266e1c 100755 --- a/lib/python/qmk/cli/generate/layouts.py +++ b/lib/python/qmk/cli/generate/layouts.py | |||
@@ -38,7 +38,7 @@ def generate_layouts(cli): | |||
38 | kb_info_json = info_json(cli.config.generate_layouts.keyboard) | 38 | kb_info_json = info_json(cli.config.generate_layouts.keyboard) |
39 | 39 | ||
40 | # Build the layouts.h file. | 40 | # Build the layouts.h file. |
41 | layouts_h_lines = ['/* This file was generated by `qmk generate-layouts`. Do not edit or copy.' ' */', '', '#pragma once'] | 41 | layouts_h_lines = ['/* This file was generated by `qmk generate-layouts`. Do not edit or copy.', ' */', '', '#pragma once'] |
42 | 42 | ||
43 | if 'matrix_pins' in kb_info_json: | 43 | if 'matrix_pins' in kb_info_json: |
44 | if 'direct' in kb_info_json['matrix_pins']: | 44 | if 'direct' in kb_info_json['matrix_pins']: |