Appease the gods of formatting.
This commit is contained in:
parent
1354424fd7
commit
1c4c6ae280
2 changed files with 3 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def _render_keycodes(module_jsons):
|
|||
lines.append(f' {key},')
|
||||
lines.append(' LAST_COMMUNITY_MODULE_KEY')
|
||||
lines.append('};')
|
||||
lines.append('_Static_assert(LAST_COMMUNITY_MODULE_KEY <= QK_COMMUNITY_MODULE_MAX, "Too many community module keycodes");')
|
||||
lines.append('_Static_assert((int)LAST_COMMUNITY_MODULE_KEY <= (int)(QK_COMMUNITY_MODULE_MAX+1), "Too many community module keycodes");')
|
||||
return lines
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ from milc.attrdict import AttrDict
|
|||
from qmk.json_schema import json_load, validate
|
||||
from qmk.util import truthy
|
||||
|
||||
|
||||
class ModuleAPI(AttrDict):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__()
|
||||
|
|
@ -28,6 +29,7 @@ MODULE_API_LIST = [
|
|||
|
||||
MODULE_API_VERSION = '20250122'
|
||||
|
||||
|
||||
def load_module_jsons(modules):
|
||||
"""Load the module JSON files, matching the specified order.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue