align dictionary values and add comma to end of dict.

This commit is contained in:
Joey de l'Arago 2022-11-28 09:14:42 +01:00
parent a809e5a91c
commit 3eb5f91fd6

View file

@ -10,17 +10,17 @@ from .formatter import FileFormatter
# Dictionary items with matching keys will be sorted as if they were the value # Dictionary items with matching keys will be sorted as if they were the value
# Example: "version" will be sorted as if it was "0" # Example: "version" will be sorted as if it was "0"
TOP_LEVEL_SORT_PRIORITY = { TOP_LEVEL_SORT_PRIORITY = {
"version": "0", "version": "0",
"name": "1", "name": "1",
"inherits": "3" "inherits": "3",
} }
METADATA_SORT_PRIORITY = { METADATA_SORT_PRIORITY = {
"visible": "0", "visible": "0",
"author": "1", "author": "1",
"manufacturer": "2", "manufacturer": "2",
"file_formats": "3", "file_formats": "3",
"platform" : "4" "platform": "4",
} }