X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a82f1867875c906bedfe3ef675473b795d8b0440..2d99573b343cbaa721746af8df0ffb27e93140d4:/README.md diff --git a/README.md b/README.md index c26ef16..066ab75 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Options: recursive searches. On Windows, use forward slashes for directories. [default: build/|buck-out/|dist/|_build/|\.git/|\.hg/| - \.mypy_cache/|\.tox/|\.venv/] + \.mypy_cache/|\.nox/|\.tox/|\.venv/] -q, --quiet Don't emit non-error messages to stderr. Errors are still emitted, silence those with 2>/dev/null. @@ -374,7 +374,8 @@ an adoption helper, avoid using this for new projects. ### Numeric literals -*Black* standardizes most numeric literals to use lowercase letters: `0xab` +*Black* standardizes most numeric literals to use lowercase letters for the +syntactic parts and uppercase letters for the digits themselves: `0xAB` instead of `0XAB` and `1e10` instead of `1E10`. Python 2 long literals are styled as `2L` instead of `2l` to avoid confusion between `l` and `1`. In Python 3.6+, *Black* adds underscores to long numeric literals to aid @@ -919,15 +920,7 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). ## Change Log -### 18.8b0 - -* added `blackd`, see [its documentation](#blackd) for more info (#349) - -* adjacent string literals are now correctly split into multiple lines (#463) - -* added `blackd`, see [its documentation](#blackd) for more info (#349) - -* code with `_` in numeric literals is recognized as Python 3.6+ (#461) +### 18.9b0 * numeric literals are now formatted by *Black* (#452, #461, #464, #469): @@ -937,21 +930,29 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). * most letters in numeric literals are lowercased (e.g., in `1e10` or `0xab`) +* added `blackd`, see [its documentation](#blackd) for more info (#349) + +* adjacent string literals are now correctly split into multiple lines (#463) + * cache is now populated when `--check` is successful for a file which speeds up consecutive checks of properly formatted unmodified files (#448) +* code with `_` in numeric literals is recognized as Python 3.6+ (#461) + +* fixed unstable formatting when unpacking big tuples (#267) + * fixed parsing of `__future__` imports with renames (#389) * fixed scope of `# fmt: off` when directly preceding `yield` and other nodes (#385) -* note: the Vim plugin stopped registering ``,=`` as a default chord as it turned out - to be a bad idea (#415) - * fixed formatting of lambda expressions with default arguments (#468) -* *Black* no longer breaks ``async for`` statements up to separate lines (#372) +* fixed ``async for`` statements: *Black* no longer breaks them into separate + lines (#372) + +* note: the Vim plugin stopped registering ``,=`` as a default chord as it turned out + to be a bad idea (#415) -* fixed unstable formatting when unpacking big tuples (#267) ### 18.6b4