From 746f1e955aecaf3e629ac8b936c655162ae8befb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Fr=C3=B6hlander?= Date: Thu, 27 Feb 2025 12:30:43 +0900 Subject: [PATCH 1/2] Removed the default value from --line-length, since this is now handled by the config --- gdtoolkit/formatter/__main__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gdtoolkit/formatter/__main__.py b/gdtoolkit/formatter/__main__.py index ddb176f..77bfd2f 100644 --- a/gdtoolkit/formatter/__main__.py +++ b/gdtoolkit/formatter/__main__.py @@ -16,7 +16,6 @@ (implies --check). -f --fast Skip safety checks. -l --line-length= How many characters per line to allow. - [default: 100] -s --use-spaces= Use spaces for indent instead of tabs. -h --help Show this screen. --version Show version. From 5c4f62511eeef0c1472db3e9222cc8524dd4663f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Fr=C3=B6hlander?= Date: Thu, 27 Feb 2025 17:19:52 +0900 Subject: [PATCH 2/2] Set default line length in default config --- gdtoolkit/formatter/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdtoolkit/formatter/__init__.py b/gdtoolkit/formatter/__init__.py index ade5aa4..af52694 100644 --- a/gdtoolkit/formatter/__init__.py +++ b/gdtoolkit/formatter/__init__.py @@ -17,7 +17,7 @@ "excluded_directories": {".git"}, "safety_checks": None, "use_spaces": None, - "line_length": None, + "line_length": 100, } )