Docs.rs
ruff_python_formatter-0.0.3
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
ruff_python_formatter 0.0.3
This is an internal component crate of Ruff
Crate
Source
Builds
Feature flags
Documentation
..
allow_empty_first_line.py
allow_empty_first_line.py.expect
annotations.py
annotations.py.expect
async_stmts.py
async_stmts.py.expect
attribute_access_on_number_literals.py
attribute_access_on_number_literals.py.expect
backslash_before_indent.options.json
backslash_before_indent.py
backslash_before_indent.py.expect
beginning_backslash.py
beginning_backslash.py.expect
bracketmatch.py
bracketmatch.py.expect
bytes_docstring.py
bytes_docstring.py.expect
cantfit.py
cantfit.py.expect
class_blank_parentheses.py
class_blank_parentheses.py.expect
class_methods_new_line.py
class_methods_new_line.py.expect
collections.py
collections.py.expect
comment_after_escaped_newline.py
comment_after_escaped_newline.py.expect
comment_type_hint.py
comment_type_hint.py.expect
comments.py
comments.py.expect
comments2.py
comments2.py.expect
comments3.py
comments3.py.expect
comments4.py
comments4.py.expect
comments5.py
comments5.py.expect
comments6.py
comments6.py.expect
comments8.py
comments8.py.expect
comments9.py
comments9.py.expect
comments_in_blocks.py
comments_in_blocks.py.expect
comments_in_double_parens.py
comments_in_double_parens.py.expect
comments_non_breaking_space.py
comments_non_breaking_space.py.expect
composition.py
composition.py.expect
composition_no_trailing_comma.py
composition_no_trailing_comma.py.expect
conditional_expression.py
conditional_expression.py.expect
context_managers_38.options.json
context_managers_38.py
context_managers_38.py.expect
context_managers_39.py
context_managers_39.py.expect
context_managers_autodetect_310.options.json
context_managers_autodetect_310.py
context_managers_autodetect_310.py.expect
context_managers_autodetect_311.options.json
context_managers_autodetect_311.py
context_managers_autodetect_311.py.expect
context_managers_autodetect_38.options.json
context_managers_autodetect_38.py
context_managers_autodetect_38.py.expect
context_managers_autodetect_39.py
context_managers_autodetect_39.py.expect
docstring.py
docstring.py.expect
docstring_newline.py
docstring_newline.py.expect
docstring_newline_preview.options.json
docstring_newline_preview.py
docstring_newline_preview.py.expect
docstring_no_extra_empty_line_before_eof.py
docstring_no_extra_empty_line_before_eof.py.expect
docstring_no_string_normalization.py
docstring_no_string_normalization.py.expect
docstring_preview.py
docstring_preview.py.expect
dummy_implementations.py
dummy_implementations.py.expect
empty_lines.py
empty_lines.py.expect
expression.py
expression.py.expect
f_docstring.py
f_docstring.py.expect
fmtonoff.py
fmtonoff.py.expect
fmtonoff2.py
fmtonoff2.py.expect
fmtonoff3.py
fmtonoff3.py.expect
fmtonoff4.py
fmtonoff4.py.expect
fmtonoff5.py
fmtonoff5.py.expect
fmtonoff6.py
fmtonoff6.py.expect
fmtpass_imports.py
fmtpass_imports.py.expect
fmtskip.py
fmtskip.py.expect
fmtskip10.options.json
fmtskip10.py
fmtskip10.py.expect
fmtskip11.py
fmtskip11.py.expect
fmtskip12.options.json
fmtskip12.py
fmtskip12.py.expect
fmtskip13.options.json
fmtskip13.py
fmtskip13.py.expect
fmtskip2.py
fmtskip2.py.expect
fmtskip3.py
fmtskip3.py.expect
fmtskip4.py
fmtskip4.py.expect
fmtskip5.py
fmtskip5.py.expect
fmtskip6.py
fmtskip6.py.expect
fmtskip7.py
fmtskip7.py.expect
fmtskip8.py
fmtskip8.py.expect
fmtskip9.py
fmtskip9.py.expect
fmtskip_multiple_in_clause.py
fmtskip_multiple_in_clause.py.expect
fmtskip_multiple_strings.py
fmtskip_multiple_strings.py.expect
form_feeds.py
form_feeds.py.expect
format_unicode_escape_seq.py
format_unicode_escape_seq.py.expect
fstring.py
fstring.py.expect
fstring_quotations.py
fstring_quotations.py.expect
funcdef_return_type_trailing_comma.options.json
funcdef_return_type_trailing_comma.py
funcdef_return_type_trailing_comma.py.expect
function.py
function.py.expect
function2.py
function2.py.expect
function_trailing_comma.py
function_trailing_comma.py.expect
generics_wrapping.options.json
generics_wrapping.py
generics_wrapping.py.expect
ignore_pyi.pyi
ignore_pyi.pyi.expect
import_comments.py
import_comments.py.expect
import_spacing.py
import_spacing.py.expect
is_simple_lookup_for_doublestar_expression.py
is_simple_lookup_for_doublestar_expression.py.expect
jupytext_markdown_fmt.py
jupytext_markdown_fmt.py.expect
keep_newline_after_match.options.json
keep_newline_after_match.py
keep_newline_after_match.py.expect
line_ranges_basic.py
line_ranges_basic.py.expect
line_ranges_decorator_edge_case.py
line_ranges_decorator_edge_case.py.expect
line_ranges_diff_edge_case.py
line_ranges_diff_edge_case.py.expect
line_ranges_exceeding_end.py
line_ranges_exceeding_end.py.expect
line_ranges_fmt_off.py
line_ranges_fmt_off.py.expect
line_ranges_fmt_off_decorator.py
line_ranges_fmt_off_decorator.py.expect
line_ranges_fmt_off_overlap.py
line_ranges_fmt_off_overlap.py.expect
line_ranges_imports.py
line_ranges_imports.py.expect
line_ranges_indentation.py
line_ranges_indentation.py.expect
line_ranges_two_passes.py
line_ranges_two_passes.py.expect
line_ranges_unwrapping.py
line_ranges_unwrapping.py.expect
linelength6.options.json
linelength6.py
linelength6.py.expect
long_strings__type_annotations.py
long_strings__type_annotations.py.expect
long_strings_flag_disabled.py
long_strings_flag_disabled.py.expect
module_docstring_1.py
module_docstring_1.py.expect
module_docstring_2.py
module_docstring_2.py.expect
module_docstring_3.py
module_docstring_3.py.expect
module_docstring_4.py
module_docstring_4.py.expect
module_docstring_after_comment.options.json
module_docstring_after_comment.py
module_docstring_after_comment.py.expect
module_docstring_followed_by_class.py
module_docstring_followed_by_class.py.expect
module_docstring_followed_by_function.py
module_docstring_followed_by_function.py.expect
multiline_consecutive_open_parentheses_ignore.py
multiline_consecutive_open_parentheses_ignore.py.expect
nested_stub.pyi
nested_stub.pyi.expect
no_blank_line_before_docstring.py
no_blank_line_before_docstring.py.expect
numeric_literals.py
numeric_literals.py.expect
numeric_literals_skip_underscores.py
numeric_literals_skip_underscores.py.expect
one_element_subscript.py
one_element_subscript.py.expect
parenthesized_context_managers.options.json
parenthesized_context_managers.py
parenthesized_context_managers.py.expect
pattern_matching_complex.options.json
pattern_matching_complex.py
pattern_matching_complex.py.expect
pattern_matching_extras.options.json
pattern_matching_extras.py
pattern_matching_extras.py.expect
pattern_matching_generic.options.json
pattern_matching_generic.py
pattern_matching_generic.py.expect
pattern_matching_long.options.json
pattern_matching_long.py
pattern_matching_long.py.expect
pattern_matching_simple.options.json
pattern_matching_simple.py
pattern_matching_simple.py.expect
pattern_matching_style.options.json
pattern_matching_style.py
pattern_matching_style.py.expect
pattern_matching_trailing_comma.options.json
pattern_matching_trailing_comma.py
pattern_matching_trailing_comma.py.expect
pattern_matching_with_if_stmt.options.json
pattern_matching_with_if_stmt.py
pattern_matching_with_if_stmt.py.expect
pep604_union_types_line_breaks.options.json
pep604_union_types_line_breaks.py
pep604_union_types_line_breaks.py.expect
pep646_typed_star_arg_type_var_tuple.options.json
pep646_typed_star_arg_type_var_tuple.py
pep646_typed_star_arg_type_var_tuple.py.expect
pep_570.py
pep_570.py.expect
pep_572.py
pep_572.py.expect
pep_572_py310.options.json
pep_572_py310.py
pep_572_py310.py.expect
pep_572_py39.py
pep_572_py39.py.expect
pep_572_remove_parens.py
pep_572_remove_parens.py.expect
pep_572_slices.py
pep_572_slices.py.expect
pep_604.py
pep_604.py.expect
pep_646.options.json
pep_646.py
pep_646.py.expect
pep_654.options.json
pep_654.py
pep_654.py.expect
pep_654_style.options.json
pep_654_style.py
pep_654_style.py.expect
pep_701.options.json
pep_701.py
pep_701.py.expect
pep_750.options.json
pep_750.py
pep_750.py.expect
percent_precedence.py
percent_precedence.py.expect
power_op_newline.options.json
power_op_newline.py
power_op_newline.py.expect
power_op_spacing.py
power_op_spacing.py.expect
power_op_spacing_long.py
power_op_spacing_long.py.expect
prefer_rhs_split.py
prefer_rhs_split.py.expect
prefer_rhs_split_reformatted.py
prefer_rhs_split_reformatted.py.expect
preview_cantfit.options.json
preview_cantfit.py
preview_cantfit.py.expect
preview_cantfit_string.options.json
preview_cantfit_string.py
preview_cantfit_string.py.expect
preview_comments7.options.json
preview_comments7.py
preview_comments7.py.expect
preview_fmtpass_imports.options.json
preview_fmtpass_imports.py
preview_fmtpass_imports.py.expect
preview_format_unicode_escape_seq.options.json
preview_format_unicode_escape_seq.py
preview_format_unicode_escape_seq.py.expect
preview_fstring.options.json
preview_fstring.py
preview_fstring.py.expect
preview_hug_parens_with_braces_and_square_brackets.options.json
preview_hug_parens_with_braces_and_square_brackets.py
preview_hug_parens_with_braces_and_square_brackets.py.expect
preview_hug_parens_with_braces_and_square_brackets_no_ll1.options.json
preview_hug_parens_with_braces_and_square_brackets_no_ll1.py
preview_hug_parens_with_braces_and_square_brackets_no_ll1.py.expect
preview_import_line_collapse.options.json
preview_import_line_collapse.py
preview_import_line_collapse.py.expect
preview_long_dict_values.options.json
preview_long_dict_values.py
preview_long_dict_values.py.expect
preview_long_strings.options.json
preview_long_strings.py
preview_long_strings.py.expect
preview_long_strings__east_asian_width.options.json
preview_long_strings__east_asian_width.py
preview_long_strings__east_asian_width.py.expect
preview_long_strings__edge_case.options.json
preview_long_strings__edge_case.py
preview_long_strings__edge_case.py.expect
preview_long_strings__regression.options.json
preview_long_strings__regression.py
preview_long_strings__regression.py.expect
preview_long_strings__type_annotations.options.json
preview_long_strings__type_annotations.py
preview_long_strings__type_annotations.py.expect
preview_multiline_strings.options.json
preview_multiline_strings.py
preview_multiline_strings.py.expect
preview_pep646_typed_star_arg_type_var_tuple.options.json
preview_pep646_typed_star_arg_type_var_tuple.py
preview_pep646_typed_star_arg_type_var_tuple.py.expect
preview_remove_multiline_lone_list_item_parens.options.json
preview_remove_multiline_lone_list_item_parens.py
preview_remove_multiline_lone_list_item_parens.py.expect
preview_return_annotation_brackets_string.options.json
preview_return_annotation_brackets_string.py
preview_return_annotation_brackets_string.py.expect
preview_standardize_type_comments.options.json
preview_standardize_type_comments.py
preview_standardize_type_comments.py.expect
preview_wrap_comprehension_in.options.json
preview_wrap_comprehension_in.py
preview_wrap_comprehension_in.py.expect
py310_pep572.options.json
py310_pep572.py
py310_pep572.py.expect
python37.py
python37.py.expect
python38.py
python38.py.expect
python39.py
python39.py.expect
raw_docstring.py
raw_docstring.py.expect
raw_docstring_no_string_normalization.py
raw_docstring_no_string_normalization.py.expect
remove_await_parens.py
remove_await_parens.py.expect
remove_except_parens.py
remove_except_parens.py.expect
remove_except_types_parens.options.json
remove_except_types_parens.py
remove_except_types_parens.py.expect
remove_except_types_parens_pre_py314.options.json
remove_except_types_parens_pre_py314.py
remove_except_types_parens_pre_py314.py.expect
remove_for_brackets.py
remove_for_brackets.py.expect
remove_lone_list_item_parens.py
remove_lone_list_item_parens.py.expect
remove_newline_after_code_block_open.py
remove_newline_after_code_block_open.py.expect
remove_parens.py
remove_parens.py.expect
remove_parens_from_lhs.options.json
remove_parens_from_lhs.py
remove_parens_from_lhs.py.expect
remove_redundant_parens_in_case_guard.options.json
remove_redundant_parens_in_case_guard.py
remove_redundant_parens_in_case_guard.py.expect
remove_with_brackets.py
remove_with_brackets.py.expect
return_annotation_brackets.py
return_annotation_brackets.py.expect
single_line_format_skip_with_multiple_comments.py
single_line_format_skip_with_multiple_comments.py.expect
skip_magic_trailing_comma.options.json
skip_magic_trailing_comma.py
skip_magic_trailing_comma.py.expect
skip_magic_trailing_comma_generic_wrap.options.json
skip_magic_trailing_comma_generic_wrap.py
skip_magic_trailing_comma_generic_wrap.py.expect
slices.py
slices.py.expect
split_delimiter_comments.py
split_delimiter_comments.py.expect
starred_for_target.options.json
starred_for_target.py
starred_for_target.py.expect
string_prefixes.py
string_prefixes.py.expect
stub.pyi
stub.pyi.expect
target_version_flag.options.json
target_version_flag.py
target_version_flag.py.expect
torture.py
torture.py.expect
trailing_comma.py
trailing_comma.py.expect
trailing_comma_optional_parens1.py
trailing_comma_optional_parens1.py.expect
trailing_comma_optional_parens2.py
trailing_comma_optional_parens2.py.expect
trailing_comma_optional_parens3.py
trailing_comma_optional_parens3.py.expect
trailing_commas_in_leading_parts.py
trailing_commas_in_leading_parts.py.expect
tricky_unicode_symbols.py
tricky_unicode_symbols.py.expect
tuple_with_stmt.py
tuple_with_stmt.py.expect
tupleassign.py
tupleassign.py.expect
type_aliases.options.json
type_aliases.py
type_aliases.py.expect
type_comment_syntax_error.py
type_comment_syntax_error.py.expect
type_expansion.options.json
type_expansion.py
type_expansion.py.expect
type_param_defaults.options.json
type_param_defaults.py
type_param_defaults.py.expect
type_params.options.json
type_params.py
type_params.py.expect
typed_params_trailing_comma.py
typed_params_trailing_comma.py.expect
walrus_in_dict.options.json
walrus_in_dict.py
walrus_in_dict.py.expect
whitespace.py
whitespace.py.expect