Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,562 in github.com/astral-sh/ruff
⨍
Functions
31,562
◇
Types & classes
7,116
↳
Endpoints
82
Function
tab_replacement
()
crates/ruff_db/src/diagnostic/render/full.rs:742
Function
tab_size
(tab_size: u8)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:463
Method
tabbed_indent
check for correct tabbed formatting ^^^^^^^^^^ Normal indented line - author
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:147
Method
take_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
Method
take_vec
Takes the elements without consuming self
crates/ruff_formatter/src/buffer.rs:200
Method
take_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
Function
taken
(condition: &Condition)
crates/ruff_linter/src/rules/pylint/rules/unreachable.rs:104
Function
takes_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
Function
takes_thing_id
(thing_id)
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:150
Function
tanjun
(bencher: Bencher)
crates/ruff_benchmark/benches/ty_walltime.rs:211
Function
task_tags
(ignore_overlong_task_comments: bool)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:411
Function
tdd_bare_constraints_have_no_uncertain_branches
()
crates/ty_python_semantic/src/types/constraints.rs:6711
Function
tdd_double_negation
()
crates/ty_python_semantic/src/types/constraints.rs:6928
Function
tdd_iff_self
()
crates/ty_python_semantic/src/types/constraints.rs:6950
Function
tdd_intersection_preserves_uncertain
()
crates/ty_python_semantic/src/types/constraints.rs:6764
Function
tdd_negation_correctness
()
crates/ty_python_semantic/src/types/constraints.rs:6899
Function
tdd_negation_produces_flat_tdd
()
crates/ty_python_semantic/src/types/constraints.rs:6872
Function
tdd_owned_round_trip
()
crates/ty_python_semantic/src/types/constraints.rs:7552
Function
tdd_uncertain_branch_absorbs_stronger_paths
()
crates/ty_python_semantic/src/types/constraints.rs:6803
Function
tdd_union_creates_uncertain_branches
()
crates/ty_python_semantic/src/types/constraints.rs:6732
Function
tearDownModule
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N802.py:32
Function
terminal_owned_constraint_set_discards_storage
()
crates/ty_python_semantic/src/types/constraints.rs:7523
Function
terminal_projections_need_no_paths_or_types
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:628
Function
ternary_else_chain_grows_stack
()
crates/ruff_python_parser/src/parser/tests.rs:496
Function
ternary_optarg
(prec, exp_range, itr)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_0.py:24
Function
test
()
crates/ruff_annotate_snippets/tests/color/multiline_removal_last_line_tabs.rs:6
Function
test
()
crates/ruff_annotate_snippets/tests/color/highlight_first_line_tab_371.rs:6
Function
test
()
crates/ruff_annotate_snippets/tests/color/multiline_removal_indent.rs:6
Function
test
(s: &str)
crates/ruff_python_literal/src/escape.rs:667
Function
test
a, b c
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:3
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/assert.py:32
Function
test
( # comment # another )
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:2
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/unsplittable.py:61
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/boolean_operation.py:99
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:173
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/binary_implicit_string.py:26
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/whitespace_only_range.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/leading_comments.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/range_narrowing.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/decorators.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/leading_trailing_comments.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/indent.py:3
Function
test
(<RANGE_START>a )
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/same_line_body.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/regressions.py:68
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/ancestory.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/empty_range.py:1
Function
test
(<RANGE_START>a, b, c: str<RANGE_END>, d)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/clause_header.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/comment_only_range.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/type_params.py:20
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/decorators.py:17
Function
test
This docstring does not get formatted
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/docstrings.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/comments.py:10
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/last_statement.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/off_on_off_on.py:66
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/trailing_comments.py:6
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/no_fmt_on.py:1
Function
test
This docstring does not get formatted
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/fmt_off_docstring.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/indent.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/form_feed.py:6
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/mixed_space_and_tab.py:1
Function
test
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtskip_multiple_in_clause.py:8
Function
test
(self, othr)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/torture.py:20
Function
test
()
crates/ruff_python_parser/resources/valid/other/decorator.py:2
Function
test
()
crates/ruff_python_parser/resources/inline/ok/all_async_comprehension_py310.py:2
Function
test
()
crates/ty_python_semantic/resources/corpus/76_class_nonlocal4.py:3
Function
test
(user: Sequence)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/runtime_evaluated_decorators_3.py:30
Function
test
(value: A)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001-3_future_strict.py:22
Function
test
(value: pkg.bar.A)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/strict.py:10
Function
test
()
crates/ruff_linter/resources/test/fixtures/flake8_comprehensions/C419.py:64
Function
test
()
crates/ruff_linter/resources/test/fixtures/semantic_errors/async_comprehension_outside_async_function.py:3
Function
test
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF015.py:71
Function
test
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:74
Function
test
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:432
Function
test
Do something.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_google.py:66
Function
test
Do something.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_google.py:54
Function
test
()
crates/ruff_linter/resources/test/fixtures/pylint/continue_in_finally.py:43
Function
test
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B015.py:14
Method
test
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/composition_no_trailing_comma.py:2
Method
test
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal4.py:8
Method
test
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:736
Method
test
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:993
Method
test
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP005.py:5
Function
test1
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/trailing_comments.py:1
Function
test2
a, b c
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:8
Function
test2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:177
Function
test2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/binary_implicit_string.py:119
Function
test2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/leading_comments.py:14
Function
test2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/trailing_comments.py:7
Function
test2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/indent.py:14
Function
test2
( a)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/same_line_body.py:4
Function
test2
(<RANGE_START>a, b, c: str, d)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/clause_header.py:18
Function
test2
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/trailing_comments.py:23
Function
test2
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B015.py:20
Function
test3
a, b
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_newlines.py:13
Function
test3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:181
Function
test3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/binary_implicit_string.py:125
Function
test3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/leading_comments.py:26
Function
test3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/trailing_comments.py:14
Function
test3
(<RANGE_START>a, b, c: str, d)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/clause_header.py:25
Function
test3
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/trailing_comments.py:37
← previous
next →
29,001–29,100 of 31,562, ranked by callers