15
0
forked from pool/python-black

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
This commit is contained in:
Tomáš Chvátal
2018-08-29 04:57:09 +00:00
committed by Git OBS Bridge
parent caefd006f8
commit 382807f45f
2 changed files with 15 additions and 12 deletions

View File

@@ -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

View File

@@ -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}