mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:15:52 +08:00
align dictionary values and add comma to end of dict.
This commit is contained in:
parent
a809e5a91c
commit
3eb5f91fd6
@ -10,17 +10,17 @@ from .formatter import FileFormatter
|
||||
# Dictionary items with matching keys will be sorted as if they were the value
|
||||
# Example: "version" will be sorted as if it was "0"
|
||||
TOP_LEVEL_SORT_PRIORITY = {
|
||||
"version": "0",
|
||||
"name": "1",
|
||||
"inherits": "3"
|
||||
"version": "0",
|
||||
"name": "1",
|
||||
"inherits": "3",
|
||||
}
|
||||
|
||||
METADATA_SORT_PRIORITY = {
|
||||
"visible": "0",
|
||||
"author": "1",
|
||||
"visible": "0",
|
||||
"author": "1",
|
||||
"manufacturer": "2",
|
||||
"file_formats": "3",
|
||||
"platform" : "4"
|
||||
"platform": "4",
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user