]> git.madduck.net Git - etc/vim.git/blobdiff - docs/the_black_code_style/future_style.md

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Decrease cost of ipynb code path when unneeded (#3748)
[etc/vim.git] / docs / the_black_code_style / future_style.md
index f5fc3644f18212552661fa14567cc80fb81fedc4..861bb64bff4d10016fde5db5230d887fbca364ec 100644 (file)
@@ -47,6 +47,8 @@ with contextlib.ExitStack() as exit_stack:
     ...
 ```
 
     ...
 ```
 
+(labels/preview-style)=
+
 ## Preview style
 
 Experimental, potentially disruptive style changes are gathered under the `--preview`
 ## Preview style
 
 Experimental, potentially disruptive style changes are gathered under the `--preview`
@@ -93,7 +95,6 @@ parentheses are now removed. For example:
 
 ```python
 my_dict = {
 
 ```python
 my_dict = {
-    my_dict = {
     "a key in my dict": a_very_long_variable
     * and_a_very_long_function_call()
     / 100000.0,
     "a key in my dict": a_very_long_variable
     * and_a_very_long_function_call()
     / 100000.0,