From 382807f45feee43ea8d2eac3dda367680322240c01eae741a0025906cd409e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Aug 2018 04:57:09 +0000 Subject: [PATCH] Accepting request 632042 from home:jengelh:branches:devel:languages:python - Replace all the marketing in the description with something substantial. OBS-URL: https://build.opensuse.org/request/show/632042 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=3 --- python-black.changes | 6 ++++++ python-black.spec | 21 +++++++++------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/python-black.changes b/python-black.changes index d2a5833..d3f3835 100644 --- a/python-black.changes +++ b/python-black.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 28 21:27:40 UTC 2018 - jengelh@inai.de + +- Replace all the marketing in the description with something + substantial. + ------------------------------------------------------------------- Mon Aug 27 19:27:43 UTC 2018 - mimi.vx@gmail.com diff --git a/python-black.spec b/python-black.spec index 04460e1..be1efa1 100644 --- a/python-black.spec +++ b/python-black.spec @@ -21,7 +21,7 @@ Name: python-black Version: 18.6b4 Release: 0 -Summary: The uncompromising code formatter +Summary: A code formatter written in, and written for Python License: MIT Group: Development/Languages/Python URL: https://github.com/ambv/black @@ -41,18 +41,15 @@ BuildArch: noarch %python_subpackages %description -*Black* is the uncompromising Python code formatter. By using it, you -agree to cede control over minutiae of hand-formatting. In return, -*Black* gives you speed, determinism, and freedom from `pycodestyle` -nagging about formatting. You will save time and mental energy for -more important matters. +Black is a code formatter written in Python, and reformats Python 2.x +and 3.x code. -Blackened code looks the same regardless of the project you're reading. -Formatting becomes transparent after a while and you can focus on the -content instead. - -*Black* makes code review faster by producing the smallest diffs -possible. +Black reformats entire files in place. It is not configurable. It +does not take previous formatting into account. The coding style +enforced is a PEP-8 subset, adheres to PEP-257, and otherwise passes +the rules of the "pycodestyle" checker. Black skips over blocks that +start and end with "# fmt: off" and "# fmt: on", respectively. It +also recognizes YAPF's block comments to the same effect. %prep %setup -q -n black-%{version}