diff options
author | Joel Challis <git@zvecr.com> | 2021-08-24 17:07:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 17:07:11 +0100 |
commit | 2cade3a48300e0709f8aec68602faf90947b6738 (patch) | |
tree | 20d4e05ccb92ebf35c7aa3ab281590302e9befa9 /lib/python | |
parent | 2827a3cf754c2eaca37a0d44a5901741f1855414 (diff) | |
download | qmk_firmware-2cade3a48300e0709f8aec68602faf90947b6738.tar.gz qmk_firmware-2cade3a48300e0709f8aec68602faf90947b6738.zip |
Align some quantum sub-directories (#14134)
* Misc folder tidy
* Review comments
* Remove redundant entry
Diffstat (limited to 'lib/python')
-rw-r--r-- | lib/python/qmk/cli/format/c.py | 2 | ||||
-rw-r--r-- | lib/python/qmk/cli/new/keyboard.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/qmk/cli/format/c.py b/lib/python/qmk/cli/format/c.py index b7263e19f..0160e6036 100644 --- a/lib/python/qmk/cli/format/c.py +++ b/lib/python/qmk/cli/format/c.py | |||
@@ -12,7 +12,7 @@ from qmk.c_parse import c_source_files | |||
12 | 12 | ||
13 | c_file_suffixes = ('c', 'h', 'cpp') | 13 | c_file_suffixes = ('c', 'h', 'cpp') |
14 | core_dirs = ('drivers', 'quantum', 'tests', 'tmk_core', 'platforms') | 14 | core_dirs = ('drivers', 'quantum', 'tests', 'tmk_core', 'platforms') |
15 | ignored = ('tmk_core/protocol/usb_hid', 'quantum/template', 'platforms/chibios') | 15 | ignored = ('tmk_core/protocol/usb_hid', 'platforms/chibios/boards') |
16 | 16 | ||
17 | 17 | ||
18 | def find_clang_format(): | 18 | def find_clang_format(): |
diff --git a/lib/python/qmk/cli/new/keyboard.py b/lib/python/qmk/cli/new/keyboard.py index 9e4232679..369d2bd7d 100644 --- a/lib/python/qmk/cli/new/keyboard.py +++ b/lib/python/qmk/cli/new/keyboard.py | |||
@@ -115,9 +115,9 @@ def find_user_name(): | |||
115 | 115 | ||
116 | 116 | ||
117 | def copy_templates(keyboard_type, keyboard_path): | 117 | def copy_templates(keyboard_type, keyboard_path): |
118 | """Copies the template files from quantum/template to the new keyboard directory. | 118 | """Copies the template files from data/templates to the new keyboard directory. |
119 | """ | 119 | """ |
120 | template_base_path = Path('quantum/template') | 120 | template_base_path = Path('data/templates') |
121 | keyboard_basename = keyboard_path.name | 121 | keyboard_basename = keyboard_path.name |
122 | 122 | ||
123 | cli.log.info('Copying base template files...') | 123 | cli.log.info('Copying base template files...') |