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.can_omit_invisible_parens
17 .. autofunction:: black.is_empty_tuple
19 .. autofunction:: black.is_import
21 .. autofunction:: black.is_line_short_enough
23 .. autofunction:: black.is_multiline_string
25 .. autofunction:: black.is_one_tuple
27 .. autofunction:: black.is_python36
29 .. autofunction:: black.is_split_after_delimiter
31 .. autofunction:: black.is_split_before_delimiter
33 .. autofunction:: black.is_stub_body
35 .. autofunction:: black.is_stub_suite
37 .. autofunction:: black.is_vararg
39 .. autofunction:: black.is_yield
45 .. autofunction:: black.format_file_contents
47 .. autofunction:: black.format_file_in_place
49 .. autofunction:: black.format_stdin_to_stdout
51 .. autofunction:: black.format_str
53 .. autofunction:: black.reformat_one
55 .. autofunction:: black.schedule_formatting
60 .. autofunction:: black.dump_to_file
62 .. autofunction:: black.gen_python_files_in_dir
67 .. autofunction:: black.decode_bytes
69 .. autofunction:: black.lib2to3_parse
71 .. autofunction:: black.lib2to3_unparse
76 .. autofunction:: black.delimiter_split
78 .. autofunction:: black.left_hand_split
80 .. autofunction:: black.right_hand_split
82 .. autofunction:: black.standalone_comment_split
84 .. autofunction:: black.split_line
86 .. autofunction:: black.bracket_split_succeeded_or_raise
91 .. autofunction:: black.filter_cached
93 .. autofunction:: black.get_cache_info
95 .. autofunction:: black.read_cache
97 .. autofunction:: black.write_cache
102 .. py:function:: black.DebugVisitor.show(code: str) -> None
104 Pretty-print the lib2to3 AST of a given string of `code`.
106 .. autofunction:: black.diff
108 .. autofunction:: black.ensure_visible
110 .. autofunction:: black.enumerate_reversed
112 .. autofunction:: black.enumerate_with_length
114 .. autofunction:: black.generate_comments
116 .. autofunction:: black.make_comment
118 .. autofunction:: black.maybe_make_parens_invisible_in_atom
120 .. autofunction:: black.max_delimiter_priority_in_atom
122 .. autofunction:: black.normalize_prefix
124 .. autofunction:: black.normalize_string_quotes
126 .. autofunction:: black.normalize_invisible_parens
128 .. autofunction:: black.preceding_leaf
130 .. autofunction:: black.sub_twice
132 .. autofunction:: black.whitespace