From e42f536fd0dacdca92dbcca1ef421a6e0c251039 Mon Sep 17 00:00:00 2001 From: Oula Kuuva Date: Wed, 18 Sep 2024 11:41:03 +0300 Subject: [PATCH] style: sort DarkerConfig options --- .venv | 1 + src/darker/config.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 120000 .venv diff --git a/.venv b/.venv new file mode 120000 index 000000000..c84645f14 --- /dev/null +++ b/.venv @@ -0,0 +1 @@ +/Users/oula/gits/darker.git/master/../.venv \ No newline at end of file diff --git a/src/darker/config.py b/src/darker/config.py index b615f2a08..7a9a062e7 100644 --- a/src/darker/config.py +++ b/src/darker/config.py @@ -36,14 +36,14 @@ class DarkerConfig(BaseConfig, total=False): """Dictionary representing ``[tool.darker]`` from ``pyproject.toml``""" + check: bool diff: bool flynt: bool - check: bool isort: bool + line_length: int lint: list[str] - skip_string_normalization: bool skip_magic_trailing_comma: bool - line_length: int + skip_string_normalization: bool target_version: str formatter: str