From 3eb5f91fd62f29b567b51b9e6cf408477790e392 Mon Sep 17 00:00:00 2001 From: Joey de l'Arago Date: Mon, 28 Nov 2022 09:14:42 +0100 Subject: [PATCH] align dictionary values and add comma to end of dict. --- .../printerlinter/formatters/def_json_formatter.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/printer-linter/src/printerlinter/formatters/def_json_formatter.py b/printer-linter/src/printerlinter/formatters/def_json_formatter.py index 0421b8547d..f839594ea5 100644 --- a/printer-linter/src/printerlinter/formatters/def_json_formatter.py +++ b/printer-linter/src/printerlinter/formatters/def_json_formatter.py @@ -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", }