]> git.madduck.net Git - etc/vim.git/commit

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:

fix indentation of line breaks in long type hints by adding parens (#3899)
authorJohn Litborn <11260241+jakkdl@users.noreply.github.com>
Fri, 22 Sep 2023 15:38:51 +0000 (17:38 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Sep 2023 15:38:51 +0000 (08:38 -0700)
commit8c5d96ffd3da6d621e67639dadd26a1d7d0227cd
tree51eee717e6c5084f2a421ce296ff0c1d039d7208
parente974fc3c52959e9f01bf62bdcd0d8c100ce78985
fix indentation of line breaks in long type hints by adding parens (#3899)

* fix indentation of line breaks in long type hints by adding parentheses, and remove unnecessary parentheses

* add entry in CHANGES.md, make the style change only in preview mode
CHANGES.md
src/black/linegen.py
src/black/mode.py
tests/data/preview/long_strings__type_annotations.py
tests/data/preview_py_310/pep604_union_types_line_breaks.py [new file with mode: 0644]