pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-yapf: update to 0.30.0
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Mon May 18 10:13:34 2020 +0200
Changeset: 7415a06936af58d54a7410cccbe4d9a8693589fd
Modified Files:
py-yapf/Makefile
py-yapf/distinfo
Log Message:
py-yapf: update to 0.30.0
- Added `SPACES_AROUND_LIST_DELIMITERS`, `SPACES_AROUND_DICT_DELIMITERS`,
and `SPACES_AROUND_TUPLE_DELIMITERS` to add spaces after the opening-
and before the closing-delimiters for lists, dicts, and tuples.
- Adds `FORCE_MULTILINE_DICT` knob to ensure dictionaries always split,
even when shorter than the max line length.
- New knob `SPACE_INSIDE_BRACKETS` to add spaces inside brackets, braces, and
parentheses.
- New knob `SPACES_AROUND_SUBSCRIPT_COLON` to add spaces around the subscript /
slice operator.
- Renamed "chromium" style to "yapf". Chromium will now use PEP-8 directly.
- `CONTINUATION_ALIGN_STYLE` with `FIXED` or `VALIGN-RIGHT` now works with
space indentation.
- Honor a disable directive at the end of a multiline comment.
- Don't require splitting before comments in a list when
`SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES` is set. The knob is meant for
values, not comments, which may be associated with the current line.
- Don't over-indent a parameter list when not needed. But make sure it is
properly indented so that it doesn't collide with the lines afterwards.
- Don't split between two-word comparison operators: "is not", "not in", etc.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7415a06936af58d54a7410cccbe4d9a8693589fd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-yapf/Makefile | 2 +-
py-yapf/distinfo | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diffs:
diff --git a/py-yapf/Makefile b/py-yapf/Makefile
index d661e18afb..49554aac1e 100644
--- a/py-yapf/Makefile
+++ b/py-yapf/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.1 2015/04/23 09:49:45 ahp-nils Exp $
-DISTNAME= yapf-0.29.0
+DISTNAME= yapf-0.30.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel textproc
MASTER_SITES= ${MASTER_SITE_PYPI:=y/yapf/}
diff --git a/py-yapf/distinfo b/py-yapf/distinfo
index adc265d105..d8948654e7 100644
--- a/py-yapf/distinfo
+++ b/py-yapf/distinfo
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.1 2015/04/23 09:49:45 ahp-nils Exp $
-SHA1 (yapf-0.29.0.tar.gz) = 84181ec88eea4aaa594ca9b34f3b6b838e121d14
-RMD160 (yapf-0.29.0.tar.gz) = dc6c20b068524afab437f670bb4a7a0220c6ce2c
-SHA512 (yapf-0.29.0.tar.gz) = b63634ccff7d187ee5f4a3a8d2f90fee81863edbd2f415ab9b55cca56d9b22ee584efd67b86ef28a051da46f1fa727956645bcf5ddf1d8a2b60ebd29085dc074
-Size (yapf-0.29.0.tar.gz) = 181836 bytes
+SHA1 (yapf-0.30.0.tar.gz) = 64c4e4125e82c328e9feecfe28d8798da88859c4
+RMD160 (yapf-0.30.0.tar.gz) = 659c90348056ad943b1eb7a56743ec1be493c942
+SHA512 (yapf-0.30.0.tar.gz) = 47070ccbae54d482499c5fcf594be09f47e64540141dac6fb7c4d8e0e596dc9d050a127a62d1a0468cc10fff8626bfe3c12a0f42794b817fade9463d1a1d6ab3
+Size (yapf-0.30.0.tar.gz) = 187854 bytes
Home |
Main Index |
Thread Index |
Old Index