“Any color you like.”
Navigation
The Black Code Style
Getting Started
Usage and Configuration
Integrations
Guides
Contributing
Change Log
Authors
GitHub ↪
PyPI ↪
IRC ↪
Related Topics
Documentation overview
Quick search
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
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.brackets.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.debug.DebugVisitor.show() (in module black)
bracket_split_build_line() (in module black.linegen)
bracket_split_succeeded_or_raise() (in module black.linegen)
BracketTracker (class in black.brackets)
C
can_be_split() (in module black.lines)
can_omit_invisible_parens() (in module black.lines)
cancel() (in module black.concurrency)
CannotSplit
Changed (class in black)
child_towards() (in module black.nodes)
comments_after() (black.Line method)
container_of() (in module black.nodes)
contains_fmt_on_at_column() (in module black.comments)
contains_standalone_comments() (black.Line method)
convert_one_fmt_off_pair() (in module black.comments)
D
decode_bytes() (in module black)
delimiter_count_with_priority() (black.brackets.BracketTracker method)
delimiter_split() (in module black.linegen)
diff() (in module black)
done() (black.Report method)
dont_increase_indentation() (in module black.linegen)
dump_to_file() (in module black)
E
EmptyLineTracker (class in black)
ensure_visible() (in module black.nodes)
enumerate_reversed() (in module black.lines)
enumerate_with_length() (black.Line method)
F
failed() (black.Report method)
filter_cached() (in module black.cache)
find_project_root() (in module black)
first_leaf_column() (in module black.nodes)
format_file_contents() (in module black)
format_file_in_place() (in module black)
format_float_or_int_string() (in module black.numerics)
format_stdin_to_stdout() (in module black)
format_str() (in module black)
G
gen_python_files() (in module black)
generate_comments() (in module black.comments)
generate_ignored_nodes() (in module black.comments)
generate_trailers_to_omit() (in module black.linegen)
get_cache_file() (in module black.cache)
get_cache_info() (in module black.cache)
get_future_imports() (in module black)
get_open_lsqb() (black.brackets.BracketTracker method)
H
has_magic_trailing_comma() (black.Line method)
I
InvalidInput
is_class() (black.Line property)
is_class_paren_empty() (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.nodes)
is_fmt_on() (in module black.comments)
is_import() (black.Line property)
(in module black.nodes)
is_line_short_enough() (in module black.lines)
is_multiline_string() (in module black.nodes)
is_one_tuple() (in module black.nodes)
is_split_after_delimiter() (in module black.brackets)
is_split_before_delimiter() (in module black.brackets)
is_stub_body() (in module black.nodes)
is_stub_class() (black.Line property)
is_stub_suite() (in module black.nodes)
is_triple_quoted_string() (black.Line property)
is_vararg() (in module black.nodes)
is_yield() (in module black.nodes)
L
left_hand_split() (in module black.linegen)
lib2to3_parse() (in module black.parsing)
lib2to3_unparse() (in module black.parsing)
Line (class in black)
line() (black.LineGenerator method)
LineGenerator (class in black)
list_comments() (in module black.comments)
M
make_comment() (in module black.comments)
mark() (black.brackets.BracketTracker method)
max_delimiter_priority() (black.brackets.BracketTracker method)
max_delimiter_priority_in_atom() (in module black.brackets)
maybe_decrement_after_for_loop_variable() (black.brackets.BracketTracker method)
maybe_decrement_after_lambda_arguments() (black.brackets.BracketTracker method)
maybe_empty_lines() (black.EmptyLineTracker method)
maybe_increment_for_loop_variable() (black.brackets.BracketTracker method)
maybe_increment_lambda_arguments() (black.brackets.BracketTracker method)
maybe_make_parens_invisible_in_atom() (in module black.linegen)
Mode (class in black)
N
normalize_fmt_off() (in module black)
normalize_invisible_parens() (in module black.linegen)
normalize_numeric_literal() (in module black.numerics)
normalize_prefix() (in module black.linegen)
normalize_string_prefix() (in module black.strings)
normalize_string_quotes() (in module black.strings)
NothingChanged
P
patch_click() (in module black)
preceding_leaf() (in module black.nodes)
ProtoComment (class in black.comments)
R
re_compile_maybe_verbose() (in module black)
read_cache() (in module black.cache)
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.linegen)
S
schedule_formatting() (in module black)
should_split_line() (in module black.linegen)
shutdown() (in module black)
standalone_comment_split() (in module black.linegen)
sub_twice() (in module black.strings)
T
transform_line() (in module black.linegen)
V
visit() (black.nodes.Visitor method)
visit_async_stmt() (black.LineGenerator method)
visit_decorators() (black.LineGenerator method)
visit_DEDENT() (black.LineGenerator method)
visit_default() (black.LineGenerator method)
(black.nodes.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.nodes)
W
whitespace() (in module black.nodes)
write_cache() (in module black.cache)
WriteBack (class in black)