From 05a2162cf490fbfffae2a1d2af8091c403dc074d Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 5 Sep 2024 21:56:14 +0200 Subject: [PATCH] FIX: do not sort table keys with `toml-sort` (#388) --- pyproject.toml | 1 - src/compwa_policy/check_dev_files/toml.py | 1 - 2 files changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6eb26002..01116b71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -342,6 +342,5 @@ sort_first = [ "tool.setuptools", "tool.setuptools_scm", ] -sort_table_keys = true spaces_indent_inline_array = 4 trailing_comma_inline_array = true diff --git a/src/compwa_policy/check_dev_files/toml.py b/src/compwa_policy/check_dev_files/toml.py index 2f7a9803..ce88bb82 100644 --- a/src/compwa_policy/check_dev_files/toml.py +++ b/src/compwa_policy/check_dev_files/toml.py @@ -55,7 +55,6 @@ def _update_tomlsort_config() -> None: ignore_case=True, in_place=True, sort_first=to_toml_array(sort_first), - sort_table_keys=True, spaces_indent_inline_array=4, trailing_comma_inline_array=True, )