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_split_after_delimiter
17 .. autofunction:: black.is_split_before_delimiter
19 .. autofunction:: black.is_empty_tuple
21 .. autofunction:: black.is_import
23 .. autofunction:: black.is_one_tuple
25 .. autofunction:: black.is_python36
27 .. autofunction:: black.is_vararg
32 .. autofunction:: black.format_file_contents
34 .. autofunction:: black.format_file_in_place
36 .. autofunction:: black.format_stdin_to_stdout
38 .. autofunction:: black.format_str
40 .. autofunction:: black.reformat_one
42 .. autofunction:: black.schedule_formatting
47 .. autofunction:: black.dump_to_file
49 .. autofunction:: black.gen_python_files_in_dir
54 .. autofunction:: black.lib2to3_parse
56 .. autofunction:: black.lib2to3_unparse
61 .. autofunction:: black.delimiter_split
63 .. autofunction:: black.left_hand_split
65 .. autofunction:: black.right_hand_split
67 .. autofunction:: black.standalone_comment_split
69 .. autofunction:: black.split_line
71 .. autofunction:: black.bracket_split_succeeded_or_raise
76 .. autofunction:: black.filter_cached
78 .. autofunction:: black.get_cache_info
80 .. autofunction:: black.read_cache
82 .. autofunction:: black.write_cache
87 .. py:function:: black.DebugVisitor.show(code: str) -> None
89 Pretty-print the lib2to3 AST of a given string of `code`.
91 .. autofunction:: black.diff
93 .. autofunction:: black.ensure_visible
95 .. autofunction:: black.generate_comments
97 .. autofunction:: black.make_comment
99 .. autofunction:: black.max_delimiter_priority_in_atom
101 .. autofunction:: black.normalize_prefix
103 .. autofunction:: black.normalize_string_quotes
105 .. autofunction:: black.normalize_invisible_parens
107 .. autofunction:: black.preceding_leaf
109 .. autofunction:: black.sub_twice
111 .. autofunction:: black.whitespace