pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/yapf: Update to version 0.29.0

Module Name:	pkgsrc-wip
Committed By:	ng0 <>
Pushed By:	ng0
Date:		Mon Dec 16 18:00:54 2019 +0000
Changeset:	412b90f7718c8595ae0ec5eb3dc3b4f1ebb9fa9a

Modified Files:

Log Message:
wip/yapf: Update to version 0.29.0

- Add the `--quiet` flag to suppress output. The return code is 1 if there are
  changes, similarly to the `--diff` flag.
- Add the `indent_closing_brackets` option. This is the same as the
  `dedent_closing_brackets` option except the brackets are indented the same
  as the previous line.
- Collect a parameter list into a single object. This allows us to track how a
  parameter list is formatted, keeping state along the way. This helps when
  supporting Python 3 type annotations.
- Catch and report `UnicodeDecodeError` exceptions.
- Improved description of .yapfignore syntax.
- Format subscript lists so that splits are essentially free after a comma.
- Don't add a space between a string and its subscript.
- Extend discovery of '.style.yapf' & 'setup.cfg' files to search the root
  directory as well.
- Make sure we have parameters before we start calculating penalties for
  splitting them.
- Indicate if a class/function is nested to ensure blank lines when needed.
- Fix extra indentation in async-for else statement.
- A parameter list with no elements shouldn't count as exceeding the column
- When splitting all comma separated values, don't treat the ending bracket as
- The "no blank lines between nested classes or functions" knob should only
  apply to the first nested class or function, not all of them.

To see a diff of this commit:;a=commitdiff;h=412b90f7718c8595ae0ec5eb3dc3b4f1ebb9fa9a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 py-yapf/Makefile | 6 ++----
 py-yapf/distinfo | 8 ++++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/py-yapf/Makefile b/py-yapf/Makefile
index b7ff2be3e6..f6f5bf8613 100644
--- a/py-yapf/Makefile
+++ b/py-yapf/Makefile
@@ -1,11 +1,9 @@
 # $NetBSD: Makefile,v 1.1 2015/04/23 09:49:45 ahp-nils Exp $
-DISTNAME=	yapf-0.28.0
+DISTNAME=	yapf-0.29.0
 CATEGORIES=	devel textproc
diff --git a/py-yapf/distinfo b/py-yapf/distinfo
index 1194736fe0..adc265d105 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.28.0.tar.gz) = e35352c1ee7aa1185993ed87c6db920faee6bd47
-RMD160 (yapf-0.28.0.tar.gz) = ae9b384cb1ed3c167e60818ff54546018acaf4c5
-SHA512 (yapf-0.28.0.tar.gz) = be9ed5278d085797aba4a582a37295716c76fd10a4cea4bb5090794dd53eba6d1340d8ba7508e33a146f189a863578c95b0a651bbfd90b0390076028e03ad9bf
-Size (yapf-0.28.0.tar.gz) = 157976 bytes
+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

Home | Main Index | Thread Index | Old Index