forked from pool/python-black
- 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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c68855825ff432d197229846f971bc4d6666ce90492e5b02013bcaca4d9ab05
|
||||
size 615416
|
||||
3
black-23.12.1.tar.gz
Normal file
3
black-23.12.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ce3ef14ebe8d9509188014d96af1c456a910d5b5cbf434a09fef7e024b3d0d5
|
||||
size 620809
|
||||
@@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 2 08:19:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user