14
0
forked from pool/python-black
Go to file
Tomáš Chvátal 2c41e095e5 Accepting request 639753 from home:mimi_vx:branches:devel:languages:python
- update to 18.9b0
 * numeric literals are now formatted by Black
 * numeric literals are normalized to include _ separators on Python 3.6+ code
 * added --skip-numeric-underscore-normalization to disable the above behavior
     and leave numeric underscores as they were in the input
 * code with _ in numeric literals is recognized as Python 3.6+
 * most letters in numeric literals are lowercased (e.g., in 1e10, 0x01)
 * hexadecimal digits are always uppercased (e.g. 0xBADC0DE)
 * added blackd, see its documentation for more info
 * adjacent string literals are now correctly split into multiple lines
 * trailing comma is now added to single imports that don't fit on a line
 * cache is now populated when --check is successful for a file which
     speeds up consecutive checks of properly formatted unmodified files
 * whitespace at the beginning of the file is now removed
 * fixed mangling pweave and Spyder IDE special comments
 * fixed unstable formatting when unpacking big tuples
 * fixed parsing of __future__ imports with renames
 * fixed scope of # fmt: off when directly preceding yield and other nodes
 * fixed formatting of lambda expressions with default arguments
 * fixed async for statements: Black no longer breaks them into separate lines
 * note: the Vim plugin stopped registering ,= as a default chord
    as it turned out to be a bad idea

OBS-URL: https://build.opensuse.org/request/show/639753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=6
2018-10-03 20:21:52 +00:00
2018-08-27 10:34:38 +00:00
Description
No description provided
2.5 MiB
Languages
Diff 100%