All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
4 *Contents are subject to change.*
6 .. currentmodule:: black
11 .. autofunction:: black.assert_equivalent
13 .. autofunction:: black.assert_stable
15 .. autofunction:: black.is_empty_tuple
17 .. autofunction:: black.is_import
19 .. autofunction:: black.is_line_short_enough
21 .. autofunction:: black.is_one_tuple
23 .. autofunction:: black.is_python36
25 .. autofunction:: black.is_split_after_delimiter
27 .. autofunction:: black.is_split_before_delimiter
29 .. autofunction:: black.is_stub_body
31 .. autofunction:: black.is_stub_suite
33 .. autofunction:: black.is_vararg
38 .. autofunction:: black.format_file_contents
40 .. autofunction:: black.format_file_in_place
42 .. autofunction:: black.format_stdin_to_stdout
44 .. autofunction:: black.format_str
46 .. autofunction:: black.reformat_one
48 .. autofunction:: black.schedule_formatting
53 .. autofunction:: black.dump_to_file
55 .. autofunction:: black.gen_python_files_in_dir
60 .. autofunction:: black.lib2to3_parse
62 .. autofunction:: black.lib2to3_unparse
64 .. autofunction:: black.prepare_input
69 .. autofunction:: black.delimiter_split
71 .. autofunction:: black.left_hand_split
73 .. autofunction:: black.right_hand_split
75 .. autofunction:: black.standalone_comment_split
77 .. autofunction:: black.split_line
79 .. autofunction:: black.bracket_split_succeeded_or_raise
84 .. autofunction:: black.filter_cached
86 .. autofunction:: black.get_cache_info
88 .. autofunction:: black.read_cache
90 .. autofunction:: black.write_cache
95 .. py:function:: black.DebugVisitor.show(code: str) -> None
97 Pretty-print the lib2to3 AST of a given string of `code`.
99 .. autofunction:: black.diff
101 .. autofunction:: black.ensure_visible
103 .. autofunction:: black.enumerate_reversed
105 .. autofunction:: black.generate_comments
107 .. autofunction:: black.make_comment
109 .. autofunction:: black.maybe_make_parens_invisible_in_atom
111 .. autofunction:: black.max_delimiter_priority_in_atom
113 .. autofunction:: black.normalize_prefix
115 .. autofunction:: black.normalize_string_quotes
117 .. autofunction:: black.normalize_invisible_parens
119 .. autofunction:: black.preceding_leaf
121 .. autofunction:: black.sub_twice
123 .. autofunction:: black.whitespace