“Any color you like.”
Navigation
Installation and usage
The
Black
code style
pyproject.toml
Black
compatible configurations
Editor integration
blackd
black-primer
Version control integration
GitHub Actions
Ignoring unmodified files
Contributing to
Black
Show your style
Change Log
Developer reference
Authors
Related Topics
Documentation overview
Quick search
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
L
|
M
|
N
|
P
|
R
|
S
|
T
|
V
|
W
_
__bool__() (black.Line method)
__str__() (black.Line method)
(black.Report method)
A
any_open_brackets() (black.BracketTracker method)
append() (black.Line method)
append_comment() (black.Line method)
append_safe() (black.Line method)
assert_equivalent() (in module black)
assert_stable() (in module black)
B
black.DebugVisitor.show() (in module black)
bracket_split_build_line() (in module black)
bracket_split_succeeded_or_raise() (in module black)
BracketTracker (class in black)
C
can_be_split() (in module black)
can_omit_invisible_parens() (in module black)
cancel() (in module black)
CannotSplit
Changed (class in black)
child_towards() (in module black)
comments_after() (black.Line method)
container_of() (in module black)
contains_fmt_on_at_column() (in module black)
contains_standalone_comments() (black.Line method)
convert_one_fmt_off_pair() (in module black)
D
decode_bytes() (in module black)
delimiter_count_with_priority() (black.BracketTracker method)
delimiter_split() (in module black)
diff() (in module black)
done() (black.Report method)
dont_increase_indentation() (in module black)
dump_to_file() (in module black)
E
EmptyLineTracker (class in black)
ensure_visible() (in module black)
enumerate_reversed() (in module black)
enumerate_with_length() (in module black)
F
failed() (black.Report method)
filter_cached() (in module black)
find_project_root() (in module black)
first_leaf_column() (in module black)
format_file_contents() (in module black)
format_file_in_place() (in module black)
format_float_or_int_string() (in module black)
format_stdin_to_stdout() (in module black)
format_str() (in module black)
G
gen_python_files() (in module black)
generate_comments() (in module black)
generate_ignored_nodes() (in module black)
generate_trailers_to_omit() (in module black)
get_cache_file() (in module black)
get_cache_info() (in module black)
get_future_imports() (in module black)
get_open_lsqb() (black.BracketTracker method)
I
InvalidInput
is_class() (black.Line property)
is_class_paren_empty() (black.Line property)
is_collection_with_optional_trailing_comma() (black.Line property)
is_comment() (black.Line property)
is_complex_subscript() (black.Line method)
is_decorator() (black.Line property)
is_def() (black.Line property)
is_empty_tuple() (in module black)
is_fmt_on() (in module black)
is_import() (black.Line property)
(in module black)
is_line_short_enough() (in module black)
is_multiline_string() (in module black)
is_one_tuple() (in module black)
is_split_after_delimiter() (in module black)
is_split_before_delimiter() (in module black)
is_stub_body() (in module black)
is_stub_class() (black.Line property)
is_stub_suite() (in module black)
is_triple_quoted_string() (black.Line property)
is_vararg() (in module black)
is_yield() (in module black)
L
left_hand_split() (in module black)
lib2to3_parse() (in module black)
lib2to3_unparse() (in module black)
Line (class in black)
line() (black.LineGenerator method)
LineGenerator (class in black)
list_comments() (in module black)
M
make_comment() (in module black)
mark() (black.BracketTracker method)
max_delimiter_priority() (black.BracketTracker method)
max_delimiter_priority_in_atom() (in module black)
maybe_decrement_after_for_loop_variable() (black.BracketTracker method)
maybe_decrement_after_lambda_arguments() (black.BracketTracker method)
maybe_empty_lines() (black.EmptyLineTracker method)
maybe_increment_for_loop_variable() (black.BracketTracker method)
maybe_increment_lambda_arguments() (black.BracketTracker method)
maybe_make_parens_invisible_in_atom() (in module black)
maybe_remove_trailing_comma() (black.Line method)
Mode (class in black)
N
normalize_fmt_off() (in module black)
normalize_invisible_parens() (in module black)
normalize_numeric_literal() (in module black)
normalize_prefix() (in module black)
normalize_string_prefix() (in module black)
normalize_string_quotes() (in module black)
NothingChanged
P
patch_click() (in module black)
preceding_leaf() (in module black)
ProtoComment (class in black)
R
re_compile_maybe_verbose() (in module black)
read_cache() (in module black)
read_pyproject_toml() (in module black)
reformat_one() (in module black)
remove_trailing_comma() (black.Line method)
Report (class in black)
return_code() (black.Report property)
right_hand_split() (in module black)
S
schedule_formatting() (in module black)
should_explode() (in module black)
shutdown() (in module black)
standalone_comment_split() (in module black)
sub_twice() (in module black)
T
transform_line() (in module black)
V
visit() (black.Visitor method)
visit_async_stmt() (black.LineGenerator method)
visit_decorators() (black.LineGenerator method)
visit_DEDENT() (black.LineGenerator method)
visit_default() (black.LineGenerator method)
(black.Visitor method)
visit_ENDMARKER() (black.LineGenerator method)
visit_factor() (black.LineGenerator method)
visit_INDENT() (black.LineGenerator method)
visit_SEMI() (black.LineGenerator method)
visit_simple_stmt() (black.LineGenerator method)
visit_stmt() (black.LineGenerator method)
visit_suite() (black.LineGenerator method)
Visitor (class in black)
W
whitespace() (in module black)
write_cache() (in module black)
WriteBack (class in black)