forked from pool/python-blue
- Add black-25.1.patch to support changes in black 25.1 OBS-URL: https://build.opensuse.org/request/show/1251802 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blue?expand=0&rev=28
14 lines
582 B
Diff
14 lines
582 B
Diff
Index: blue-0.9.1/blue/__init__.py
|
|
===================================================================
|
|
--- blue-0.9.1.orig/blue/__init__.py
|
|
+++ blue-0.9.1/blue/__init__.py
|
|
@@ -102,7 +102,7 @@ from click.decorators import version_opt
|
|
LOG = logging.getLogger(__name__)
|
|
|
|
black_format_file_in_place = black.format_file_in_place
|
|
-black_strings_fix_docstring = black.strings.fix_docstring
|
|
+black_strings_fix_docstring = black.strings.fix_multiline_docstring
|
|
black_strings_normalize_string_quotes = black.strings.normalize_string_quotes
|
|
|
|
# Try not to poison Black's cache directory.
|