mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
align dictionary values and add comma to end of dict.
This commit is contained in:
parent
a809e5a91c
commit
3eb5f91fd6
1 changed files with 6 additions and 6 deletions
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue