black/tests/data
Sagi Shadur fc2a16433e
Read simple data cases automatically (#3034)
Co-authored-by: Felix Hildén <felix.hilden@gmail.com>
2022-05-08 12:27:40 -07:00
..
include_exclude_tests Do not use gitignore if explicitly passing excludes (#2170) 2021-05-07 14:54:21 +02:00
invalid_gitignore_tests Present a more user-friendly error if .gitignore is invalid (#2414) 2021-08-20 19:54:53 -04:00
invalid_nested_gitignore_tests Present a more user-friendly error if .gitignore is invalid (#2414) 2021-08-20 19:54:53 -04:00
nested_gitignore_tests Fix: black only respects the root gitignore. (#2225) 2021-05-16 13:51:27 -04:00
simple_cases Read simple data cases automatically (#3034) 2022-05-08 12:27:40 -07:00
async_as_identifier.py Add support for always tokenizing async/await as keywords 2019-05-09 17:59:29 +02:00
blackd_diff.diff Fix --diff output when encountering EOF (#1328) 2020-04-04 22:02:57 -07:00
blackd_diff.py Add diff support to blackd (#969) 2019-10-28 14:25:26 +01:00
cantfit.py Address pre-existing trailing commas when not in the rightmost bracket pair 2020-08-25 22:10:05 +02:00
comments7.py Remove NBSP at the beginning of comments (#2092) 2021-04-11 14:41:22 -07:00
comments8.py dont skip formatting #%% (#2919) 2022-03-21 14:51:07 -07:00
debug_visitor.out Move INDENT value to the postponed prefix 2018-06-19 20:44:47 -07:00
debug_visitor.py Move test data to data 2018-06-06 15:48:38 -07:00
decorators.py Detect '@' dotted_name '(' ')' NEWLINE as a simple decorator (#2182) 2021-05-04 10:46:46 +02:00
docstring_no_string_normalization.py Add more tests for fancy whitespace (#2147) 2021-04-26 20:24:06 +02:00
docstring_preview.py Put closing quote on a separate line if docstring is too long (#3044) 2022-05-07 21:34:28 -07:00
empty_pyproject.toml Support pyproject.toml 2018-06-06 17:02:10 -07:00
expression_skip_magic_trailing_comma.diff Use parentheses on method access on float and int literals (#2799) 2022-01-27 21:31:50 -08:00
force_py36.py Move test data to data 2018-06-06 15:48:38 -07:00
force_pyi.py Fix empty line handling when formatting typing stubs (#1646) 2020-09-10 13:21:37 -07:00
long_strings__edge_case.py Account for += assignment when deciding whether to split string (#2312) 2021-06-07 07:01:57 -07:00
long_strings__regression.py Remove unnecessary parentheses from tuple unpacking in for loops (#2945) 2022-03-24 07:59:54 -07:00
long_strings_flag_disabled.py Fix instability due to trailing comma logic (#2572) 2022-01-28 18:13:18 -08:00
long_strings.py Support named escapes (\N{...}) in string processing (#2319) 2021-06-09 12:29:32 -07:00
missing_final_newline.diff Indicate that a final newline was added in --diff (#1897) (#1897) 2021-02-21 22:43:23 -08:00
missing_final_newline.py Indicate that a final newline was added in --diff (#1897) (#1897) 2021-02-21 22:43:23 -08:00
non_python_notebook.ipynb Jupyter notebook support (#2357) 2021-08-06 16:57:46 -04:00
notebook_empty_metadata.ipynb Jupyter notebook support (#2357) 2021-08-06 16:57:46 -04:00
notebook_no_trailing_newline.ipynb Jupyter notebook support (#2357) 2021-08-06 16:57:46 -04:00
notebook_trailing_newline.ipynb Jupyter notebook support (#2357) 2021-08-06 16:57:46 -04:00
notebook_which_cant_be_parsed.ipynb Jupyter notebook support (#2357) 2021-08-06 16:57:46 -04:00
notebook_without_changes.ipynb Jupyter notebook support (#2357) 2021-08-06 16:57:46 -04:00
numeric_literals_skip_underscores.py Revert "Use lowercase hex numbers fixes #1692 (#1775)" 2021-04-25 19:13:23 +02:00
numeric_literals.py Revert "Use lowercase hex numbers fixes #1692 (#1775)" 2021-04-25 19:13:23 +02:00
one_element_subscript.py Avoid magic-trailing-comma in single-element subscripts (#2942) 2022-03-23 19:16:09 -07:00
parenthesized_context_managers.py black/parser: partial support for pattern matching (#2586) 2021-11-13 19:15:31 -08:00
pattern_matching_complex.py black/parser: partial support for pattern matching (#2586) 2021-11-13 19:15:31 -08:00
pattern_matching_extras.py Fix call patterns that contain as-expression on the kwargs (#2749) 2022-01-07 18:51:36 +02:00
pattern_matching_generic.py Speed up new backtracking parser (#2728) 2022-01-10 10:22:00 -08:00
pattern_matching_invalid.py fix error message for match (#2649) 2021-11-30 18:39:39 -08:00
pattern_matching_simple.py black/parser: partial support for pattern matching (#2586) 2021-11-13 19:15:31 -08:00
pattern_matching_style.py Fix handling of standalone match/case with newlines/comments (#2760) 2022-01-10 12:22:07 -08:00
pep_570.py Support PEP-570 (positional only arguments) (#946) 2019-07-28 16:17:33 +01:00
pep_572_do_not_remove_parens.py Stop stripping parens in even more illegal spots (#2148) 2021-04-26 22:26:43 +02:00
pep_572_py39.py Hug power operators if its operands are "simple" (#2726) 2022-01-24 19:13:34 -08:00
pep_572_py310.py blib2to3: support unparenthesized wulruses in more places (#2447) 2021-08-26 13:59:01 -07:00
pep_572_remove_parens.py Stop stripping parens in even more illegal spots (#2148) 2021-04-26 22:26:43 +02:00
pep_572.py Hug power operators if its operands are "simple" (#2726) 2022-01-24 19:13:34 -08:00
pep_654_style.py Support 3.11 / PEP 654 syntax (#3016) 2022-04-15 12:25:07 -04:00
pep_654.py Support 3.11 / PEP 654 syntax (#3016) 2022-04-15 12:25:07 -04:00
percent_precedence.py fix unary op detection (#1600) 2020-08-14 09:17:56 -07:00
power_op_newline.py Fix crash on some power hugging cases (#2806) 2022-01-26 16:47:36 -08:00
python2_detection.py Improve Python 2 only syntax detection (GH-2592) 2021-11-11 20:28:48 -05:00
python37.py Move tokenizer config onto grammar, rename flag 2019-05-09 17:59:29 +02:00
python38.py Allow same RHS expressions in annotated assignments as in regular assignments (#1835) 2020-11-24 09:39:25 +00:00
python39.py PEP 614 support (#1717) 2020-09-19 20:33:10 +02:00
remove_await_parens.py Remove redundant parentheses around awaited coroutines/tasks (#2991) 2022-04-09 16:49:40 -04:00
remove_except_parens.py Remove unnecessary parentheses from except clauses (#2939) 2022-03-26 09:56:50 -07:00
remove_for_brackets.py Remove unnecessary parentheses from with statements (#2926) 2022-04-02 20:27:33 -07:00
remove_with_brackets.py Remove unnecessary parentheses from with statements (#2926) 2022-04-02 20:27:33 -07:00
return_annotation_brackets.py Better manage return annotation brackets (#2990) 2022-04-09 10:36:05 -04:00
starred_for_target.py Allow for's target expression to be starred (#2879) 2022-03-04 17:37:16 -08:00
string_quotes.py Improve f-string expression detection regex so ... (#2437) 2021-08-22 19:52:19 -07:00
stub.pyi Treat blank lines in stubs the same inside top-level if statements (#2820) 2022-01-28 16:29:07 -08:00