JSON encoder: improve sorting of layout dict keys (#19974)

This commit is contained in:
Ryan authored and GitHub committed 2023-03-13 23:20:54 +11:00
1 parent cf5e9d172d
commit 91e0457b0e
3 files changed
+52 -24

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ from milc import cli
from qmk.comment_remover import comment_remover
default_key_entry = {'x': -1, 'y': 0, 'w': 1}
default_key_entry = {'x': -1, 'y': 0}
single_comment_regex = re.compile(r'\s+/[/*].*$')
multi_comment_regex = re.compile(r'/\*(.|\n)*?\*/', re.MULTILINE)
layout_macro_define_regex = re.compile(r'^#\s*define')