diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-01-31 10:10:46 +0100 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2022-02-01 15:14:17 +0100 |
| commit | 0c06819caae202f1a7aa96d2da2affb2400fef10 (patch) | |
| tree | 2ed88df7e45668c1253d876bc8da175e5b544384 /tests | |
| parent | 1c74ac864861ef3dd33b27ea0e183ff1a35ea503 (diff) | |
[4.0.x] Refs #33476 -- Used vertical hanging indentation for format lists with inline comments.
Lists with multiple values and comments per-line are reformatted
by Black to multiple lines with a single comment. For example:
DATE_INPUT_FORMATS =
"%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", # '2006-10-25', '10/25/2006', '10/25/06'
]
is reformatted to the:
DATE_INPUT_FORMATS =
"%Y-%m-%d",
"%m/%d/%Y",
"%m/%d/%y", # '2006-10-25', '10/25/2006', '10/25/06'
]
This reformats affected entries to multiple lines with corresponding
comments.
Backport of ca88caa1031c0de545d82de8d90dcae0e03651fb from main
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
