..
allow_empty_first_line.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
async_stmts.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
attribute_access_on_number_literals.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
beginning_backslash.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
bracketmatch.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
bytes_docstring.py
Fix bytes strings being treated as docstrings ( #4003 )
2023-10-31 17:11:28 -07:00
class_blank_parentheses.py
Allow empty lines at beginnings of more blocks ( #4130 )
2024-01-01 15:46:09 -08:00
class_methods_new_line.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
collections.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
comment_after_escaped_newline.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
comment_type_hint.py
test preview cases with line-length 1 unless explicitly skipped ( #4087 )
2023-12-06 07:17:33 -08:00
comments2.py
test preview cases with line-length 1 unless explicitly skipped ( #4087 )
2023-12-06 07:17:33 -08:00
comments3.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
comments4.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
comments5.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
comments6.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
comments8.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
comments9.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
comments_in_blocks.py
[563] Fix standalone comments inside complex blocks crashing Black ( #4016 )
2023-11-07 11:29:24 -08:00
comments_non_breaking_space.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
comments.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
composition_no_trailing_comma.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
composition.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
conditional_expression.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
context_managers_38.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
context_managers_39.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
context_managers_autodetect_38.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
context_managers_autodetect_39.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
context_managers_autodetect_310.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
context_managers_autodetect_311.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
docstring_newline_preview.py
fix: additional newline added to docstring when the previous line length is less than the line length limit minus 1 ( #4185 )
2024-02-05 04:56:07 -08:00
docstring_no_extra_empty_line_before_eof.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
docstring_no_string_normalization.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
docstring_preview.py
Fix crash with f-string docstrings ( #4019 )
2023-11-06 16:58:43 -08:00
docstring.py
Produce equivalent code for docstrings containing backslash followed by whitespace(s) before newline ( #4008 )
2023-10-31 08:27:11 -07:00
dummy_implementations.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
empty_lines.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
expression.diff
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
expression.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
f_docstring.py
Fix crash with f-string docstrings ( #4019 )
2023-11-06 16:58:43 -08:00
fmtonoff2.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtonoff3.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtonoff4.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtonoff5.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
fmtonoff.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
fmtpass_imports.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtskip2.py
test preview cases with line-length 1 unless explicitly skipped ( #4087 )
2023-12-06 07:17:33 -08:00
fmtskip3.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtskip4.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtskip5.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtskip6.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtskip7.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtskip8.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
fmtskip9.py
fix: Don't normalize whitespace before fmt:skip comments ( #4146 )
2024-01-25 01:31:49 -08:00
fmtskip.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
form_feeds.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
fstring.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
funcdef_return_type_trailing_comma.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
function2.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
function_trailing_comma.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
function.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
ignore_pyi.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
import_spacing.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
is_simple_lookup_for_doublestar_expression.py
fix: bug where the doublestar operation had inconsistent formatting. ( #4154 )
2024-02-05 05:33:11 -08:00
keep_newline_after_match.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
line_ranges_basic.py
Support formatting specified lines ( #4020 )
2023-11-06 18:05:25 -08:00
line_ranges_diff_edge_case.py
Disable the stability check with --line-ranges for now. ( #4034 )
2023-11-20 20:45:39 -08:00
line_ranges_fmt_off_decorator.py
Fix: --line-ranges dedents a # fmt: off in the middle of a decorator ( #4084 )
2023-12-04 10:10:03 -08:00
line_ranges_fmt_off_overlap.py
Support formatting specified lines ( #4020 )
2023-11-06 18:05:25 -08:00
line_ranges_fmt_off.py
Support formatting specified lines ( #4020 )
2023-11-06 18:05:25 -08:00
line_ranges_imports.py
Support formatting specified lines ( #4020 )
2023-11-06 18:05:25 -08:00
line_ranges_indentation.py
Support formatting specified lines ( #4020 )
2023-11-06 18:05:25 -08:00
line_ranges_two_passes.py
Support formatting specified lines ( #4020 )
2023-11-06 18:05:25 -08:00
line_ranges_unwrapping.py
Support formatting specified lines ( #4020 )
2023-11-06 18:05:25 -08:00
linelength6.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
long_strings_flag_disabled.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
module_docstring_1.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
module_docstring_2.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
module_docstring_3.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
module_docstring_4.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
module_docstring_followed_by_class.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
module_docstring_followed_by_function.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
multiline_consecutive_open_parentheses_ignore.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
nested_stub.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
no_blank_line_before_docstring.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
numeric_literals_skip_underscores.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
numeric_literals.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
one_element_subscript.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
parenthesized_context_managers.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pattern_matching_complex.py
Regression test for match variable inside match ( #3993 )
2023-10-28 11:05:53 -07:00
pattern_matching_extras.py
Fix long case blocks not split into multiple lines ( #4024 )
2023-11-07 06:31:58 -08:00
pattern_matching_generic.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pattern_matching_long.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
pattern_matching_simple.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pattern_matching_style.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pattern_matching_trailing_comma.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
pep604_union_types_line_breaks.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
pep_570.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pep_572_do_not_remove_parens.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pep_572_py39.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pep_572_py310.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
pep_572_remove_parens.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
pep_572_slices.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
pep_572.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pep_604.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pep_646.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pep_654_style.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
pep_654.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
percent_precedence.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
power_op_newline.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
power_op_spacing_long.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
power_op_spacing.py
Fix long lines with power operator(s) getting splitted before line length ( #3942 )
2023-10-16 07:08:21 -07:00
prefer_rhs_split_reformatted.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
prefer_rhs_split.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
preview_cantfit_string.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_cantfit.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_comments7.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_format_unicode_escape_seq.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
preview_hug_parens_with_braces_and_square_brackets_no_ll1.py
Move hug_parens_with_braces_and_square_brackets into the unstable style ( #4198 )
2024-02-01 21:58:51 -08:00
preview_hug_parens_with_braces_and_square_brackets.py
Move hug_parens_with_braces_and_square_brackets into the unstable style ( #4198 )
2024-02-01 21:58:51 -08:00
preview_long_dict_values.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_long_strings__east_asian_width.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_long_strings__edge_case.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_long_strings__regression.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_long_strings__type_annotations.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
preview_long_strings.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_multiline_strings.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
preview_return_annotation_brackets_string.py
Add --unstable flag ( #4096 )
2024-01-25 17:00:47 -08:00
py310_pep572.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
python37.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
python38.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
python39.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
raw_docstring_no_string_normalization.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
raw_docstring.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
remove_await_parens.py
Fix crash on await (a ** b) ( #3994 )
2023-11-02 20:42:11 -07:00
remove_except_parens.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
remove_for_brackets.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
remove_newline_after_code_block_open.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
remove_parens.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
remove_redundant_parens_in_case_guard.py
Remove redundant parentheses in case
statement if
guards ( #4214 )
2024-02-07 06:55:02 -08:00
remove_with_brackets.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
return_annotation_brackets.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
single_line_format_skip_with_multiple_comments.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
skip_magic_trailing_comma.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
slices.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
starred_for_target.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
string_prefixes.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
stub.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
torture.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
trailing_comma_optional_parens1.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
trailing_comma_optional_parens2.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
trailing_comma_optional_parens3.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
trailing_comma.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
trailing_commas_in_leading_parts.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
tricky_unicode_symbols.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
tupleassign.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
type_aliases.py
Fix parser bug where "type" was misinterpreted as a keyword inside a match ( #3950 )
2023-10-17 00:59:15 -07:00
type_comment_syntax_error.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
type_params.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00
typed_params_trailing_comma.py
Consistently add trailing comma on typed parameters ( #4164 )
2024-01-27 13:55:22 -08:00
walrus_in_dict.py
Create the 2024 stable style ( #4106 )
2024-01-24 17:06:14 -08:00
whitespace.py
Use inline flags for test cases ( #3931 )
2023-10-09 18:43:47 -07:00