]> git.madduck.net Git - etc/vim.git/blob - tests/data/simple_cases/fmtpass_imports.py

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)
[etc/vim.git] / tests / data / simple_cases / fmtpass_imports.py
1 # Regression test for https://github.com/psf/black/issues/3438
2
3 import ast
4 import collections  # fmt: skip
5 import dataclasses
6 # fmt: off
7 import os
8 # fmt: on
9 import pathlib
10
11 import re  # fmt: skip
12 import secrets
13
14 # fmt: off
15 import sys
16 # fmt: on
17
18 import tempfile
19 import zoneinfo