MCPcopy Create free account

hub / github.com/astral-sh/ruff / functions

Functions31,562 in github.com/astral-sh/ruff

Functiontab_replacement
()
crates/ruff_db/src/diagnostic/render/full.rs:742
Functiontab_size
(tab_size: u8)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:463
Methodtabbed_indent
check for correct tabbed formatting ^^^^^^^^^^ Normal indented line - author
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:147
Methodtake_sourcemap
Takes the list of [`SourceMarker`] mapping byte positions in the output string to the input source code.
crates/ruff_formatter/src/lib.rs:409
Methodtake_vec
Takes the elements without consuming self
crates/ruff_formatter/src/buffer.rs:200
Methodtake_verbatim_ranges
Takes the ranges of nodes that have been formatted as verbatim, replacing them with an empty list.
crates/ruff_formatter/src/lib.rs:436
Functiontaken
(condition: &Condition)
crates/ruff_linter/src/rules/pylint/rules/unreachable.rs:104
Functiontakes_preview_generics
( future: asyncio.Future[int], task: asyncio.Task[str], deque_object: collections.deque[int],
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/no_future_import_uses_preview_generics.py:39
Functiontakes_thing_id
(thing_id)
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:150
Functiontanjun
(bencher: Bencher)
crates/ruff_benchmark/benches/ty_walltime.rs:211
Functiontask_tags
(ignore_overlong_task_comments: bool)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:411
Functiontdd_bare_constraints_have_no_uncertain_branches
()
crates/ty_python_semantic/src/types/constraints.rs:6711
Functiontdd_double_negation
()
crates/ty_python_semantic/src/types/constraints.rs:6928
Functiontdd_iff_self
()
crates/ty_python_semantic/src/types/constraints.rs:6950
Functiontdd_intersection_preserves_uncertain
()
crates/ty_python_semantic/src/types/constraints.rs:6764
Functiontdd_negation_correctness
()
crates/ty_python_semantic/src/types/constraints.rs:6899
Functiontdd_negation_produces_flat_tdd
()
crates/ty_python_semantic/src/types/constraints.rs:6872
Functiontdd_owned_round_trip
()
crates/ty_python_semantic/src/types/constraints.rs:7552
Functiontdd_uncertain_branch_absorbs_stronger_paths
()
crates/ty_python_semantic/src/types/constraints.rs:6803
Functiontdd_union_creates_uncertain_branches
()
crates/ty_python_semantic/src/types/constraints.rs:6732
FunctiontearDownModule
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N802.py:32
Functionterminal_owned_constraint_set_discards_storage
()
crates/ty_python_semantic/src/types/constraints.rs:7523
Functionterminal_projections_need_no_paths_or_types
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:628
Functionternary_else_chain_grows_stack
()
crates/ruff_python_parser/src/parser/tests.rs:496
Functionternary_optarg
(prec, exp_range, itr)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_0.py:24
Functiontest
()
crates/ruff_annotate_snippets/tests/color/multiline_removal_last_line_tabs.rs:6
Functiontest
()
crates/ruff_annotate_snippets/tests/color/highlight_first_line_tab_371.rs:6
Functiontest
()
crates/ruff_annotate_snippets/tests/color/multiline_removal_indent.rs:6
Functiontest
(s: &str)
crates/ruff_python_literal/src/escape.rs:667
Functiontest
a, b c
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:3
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/assert.py:32
Functiontest
( # comment # another )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:2
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/unsplittable.py:61
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/boolean_operation.py:99
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:173
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/binary_implicit_string.py:26
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/whitespace_only_range.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/leading_comments.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/range_narrowing.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/decorators.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/leading_trailing_comments.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/indent.py:3
Functiontest
(<RANGE_START>a )
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/same_line_body.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/regressions.py:68
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/ancestory.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/empty_range.py:1
Functiontest
(<RANGE_START>a, b, c: str<RANGE_END>, d)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/clause_header.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/comment_only_range.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/type_params.py:20
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/decorators.py:17
Functiontest
This docstring does not get formatted
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/docstrings.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/comments.py:10
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/last_statement.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/off_on_off_on.py:66
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/trailing_comments.py:6
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/no_fmt_on.py:1
Functiontest
This docstring does not get formatted
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/fmt_off_docstring.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/indent.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/form_feed.py:6
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/mixed_space_and_tab.py:1
Functiontest
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtskip_multiple_in_clause.py:8
Functiontest
(self, othr)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/torture.py:20
Functiontest
()
crates/ruff_python_parser/resources/valid/other/decorator.py:2
Functiontest
()
crates/ruff_python_parser/resources/inline/ok/all_async_comprehension_py310.py:2
Functiontest
()
crates/ty_python_semantic/resources/corpus/76_class_nonlocal4.py:3
Functiontest
(user: Sequence)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/runtime_evaluated_decorators_3.py:30
Functiontest
(value: A)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001-3_future_strict.py:22
Functiontest
(value: pkg.bar.A)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/strict.py:10
Functiontest
()
crates/ruff_linter/resources/test/fixtures/flake8_comprehensions/C419.py:64
Functiontest
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/async_comprehension_outside_async_function.py:3
Functiontest
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF015.py:71
Functiontest
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:74
Functiontest
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:432
Functiontest
Do something.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_google.py:66
Functiontest
Do something.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_google.py:54
Functiontest
()
crates/ruff_linter/resources/test/fixtures/pylint/continue_in_finally.py:43
Functiontest
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B015.py:14
Methodtest
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/composition_no_trailing_comma.py:2
Methodtest
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal4.py:8
Methodtest
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:736
Methodtest
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:993
Methodtest
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP005.py:5
Functiontest1
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/trailing_comments.py:1
Functiontest2
a, b c
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:8
Functiontest2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:177
Functiontest2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/binary_implicit_string.py:119
Functiontest2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/leading_comments.py:14
Functiontest2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/trailing_comments.py:7
Functiontest2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/indent.py:14
Functiontest2
( a)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/same_line_body.py:4
Functiontest2
(<RANGE_START>a, b, c: str, d)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/clause_header.py:18
Functiontest2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/trailing_comments.py:23
Functiontest2
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B015.py:20
Functiontest3
a, b
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:13
Functiontest3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:181
Functiontest3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/binary_implicit_string.py:125
Functiontest3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/leading_comments.py:26
Functiontest3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/trailing_comments.py:14
Functiontest3
(<RANGE_START>a, b, c: str, d)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/clause_header.py:25
Functiontest3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/trailing_comments.py:37
← previousnext →29,001–29,100 of 31,562, ranked by callers