14
0
forked from pool/python-black

Accepting request 1127150 from devel:languages:python

- update to 23.11.0:
  * Support formatting ranges of lines with the new `--line-
    ranges` command-line option
  * Fix crash on formatting bytes strings that look like
    docstrings (#4003)
  * Fix crash when whitespace followed a backslash before newline
    in a docstring (#4008)
  * Fix standalone comments inside complex blocks crashing Black
  * Fix crash on formatting code like `await (a ** b)` (#3994)
  * No longer treat leading f-strings as docstrings. This matches
    Python's behaviour and fixes a crash (#4019)
  * Consistently apply force exclusion logic before resolving
    symlinks (#4015)
  * Fix a bug in the matching of absolute path names in
    `--include` (#3976)

OBS-URL: https://build.opensuse.org/request/show/1127150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-black?expand=0&rev=23
This commit is contained in:
2023-11-16 19:31:54 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f8ce316753428ff68749c65a5f7844631aa18c8679dfd3ca9dc1a289979c258
size 597307

3
black-23.11.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c68855825ff432d197229846f971bc4d6666ce90492e5b02013bcaca4d9ab05
size 615416

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Nov 16 17:31:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 23.11.0:
* Support formatting ranges of lines with the new `--line-
ranges` command-line option
* Fix crash on formatting bytes strings that look like
docstrings (#4003)
* Fix crash when whitespace followed a backslash before newline
in a docstring (#4008)
* Fix standalone comments inside complex blocks crashing Black
* Fix crash on formatting code like `await (a ** b)` (#3994)
* No longer treat leading f-strings as docstrings. This matches
Python's behaviour and fixes a crash (#4019)
* Consistently apply force exclusion logic before resolving
symlinks (#4015)
* Fix a bug in the matching of absolute path names in
`--include` (#3976)
-------------------------------------------------------------------
Tue Oct 24 16:05:14 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-black
Version: 23.10.1
Version: 23.11.0
Release: 0
Summary: A code formatter written in, and written for Python
License: MIT