From 01dcc94d863b89db869dd54e46940fe6fc99d40dfd6ce8e313d9e0a5746c804c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Jan 2024 08:21:00 +0000 Subject: [PATCH] - update to 23.12.1: * Fixed a bug that included dependencies from the `d` extra by default * This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in `--preview` mode will be in the 2024 stable style. * Fix bug where `# fmt: off` automatically dedents when used with the `--line-ranges` option, even when it is not within the specified line range. * Fix feature detection for parenthesized context managers * Prefer more equal signs before a break when splitting chained assignments * Standalone form feed characters at the module level are no longer removed * Additional cases of immediately nested tuples, lists, and dictionaries are now indented less * Allow empty lines at the beginning of all blocks, except immediately before a docstring * Fix crash in preview mode when using a short `--line-length` * Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions * `--line-ranges` now skips _Black_'s internal stability check in `--safe` mode. This avoids a crash on rare inputs that have many unformatted same-content lines. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=54 --- black-23.11.0.tar.gz | 3 --- black-23.12.1.tar.gz | 3 +++ python-black.changes | 28 ++++++++++++++++++++++++++++ python-black.spec | 4 ++-- 4 files changed, 33 insertions(+), 5 deletions(-) delete mode 100644 black-23.11.0.tar.gz create mode 100644 black-23.12.1.tar.gz diff --git a/black-23.11.0.tar.gz b/black-23.11.0.tar.gz deleted file mode 100644 index 0524f64..0000000 --- a/black-23.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c68855825ff432d197229846f971bc4d6666ce90492e5b02013bcaca4d9ab05 -size 615416 diff --git a/black-23.12.1.tar.gz b/black-23.12.1.tar.gz new file mode 100644 index 0000000..9eccfdc --- /dev/null +++ b/black-23.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ce3ef14ebe8d9509188014d96af1c456a910d5b5cbf434a09fef7e024b3d0d5 +size 620809 diff --git a/python-black.changes b/python-black.changes index 6ce7a38..ff28f41 100644 --- a/python-black.changes +++ b/python-black.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Jan 2 08:19:30 UTC 2024 - Dirk Müller + +- update to 23.12.1: + * Fixed a bug that included dependencies from the `d` extra by + default + * This release (23.12.0) will still produce the 2023 style. + Most but not all of the changes in `--preview` mode will be + in the 2024 stable style. + * Fix bug where `# fmt: off` automatically dedents when used + with the `--line-ranges` option, even when it is not within + the specified line range. + * Fix feature detection for parenthesized context managers + * Prefer more equal signs before a break when splitting chained + assignments + * Standalone form feed characters at the module level are no + longer removed + * Additional cases of immediately nested tuples, lists, and + dictionaries are now indented less + * Allow empty lines at the beginning of all blocks, except + immediately before a docstring + * Fix crash in preview mode when using a short `--line-length` + * Keep suites consisting of only an ellipsis on their own lines + if they are not functions or class definitions + * `--line-ranges` now skips _Black_'s internal stability check + in `--safe` mode. This avoids a crash on rare inputs that have + many unformatted same-content lines. + ------------------------------------------------------------------- Thu Nov 16 17:31:29 UTC 2023 - Dirk Müller diff --git a/python-black.spec b/python-black.spec index a8707d8..0ff5db0 100644 --- a/python-black.spec +++ b/python-black.spec @@ -1,7 +1,7 @@ # # spec file for package python-black # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-black -Version: 23.11.0 +Version: 23.12.1 Release: 0 Summary: A code formatter written in, and written for Python License: MIT