Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,766 in github.com/astral-sh/ruff
⨍
Functions
31,766
◇
Types & classes
7,128
↳
Endpoints
82
Method
lru_cached_staticmethod
(y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:61
Method
lsp_command
Generate command to start LSP server, or None if not supported.
scripts/ty_benchmark/src/benchmark/tool.py:76
Method
lsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:210
Method
lsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:272
Method
lsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:321
Method
lsp_command
(self, project: Project, venv: Venv)
scripts/ty_benchmark/src/benchmark/tool.py:428
Method
lsp_initialization_options
( self, project: Project, venv: Venv )
scripts/ty_benchmark/src/benchmark/tool.py:418
Function
lwnlkjl
Summary
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:354
Function
m
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:155
Function
m
(x: (yield from 1))
crates/ruff_python_parser/resources/inline/ok/valid_annotation_function_py313.py:7
Function
m
(x: (yield from 1))
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function_py314.py:7
Function
m
()
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC001_future.py:46
Method
m
(cls: type[S], /)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:94
Method
m
(cls: builtins.type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:102
Method
m
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:109
Method
m
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:114
Method
m
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:118
Method
m
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:135
Method
m
(self: S, other: T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:140
Method
m
(self: S, other: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:144
Method
m
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:154
Method
m
(self: _T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:159
Method
m
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:164
Method
m
(self: S)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:173
Method
m
(cls: MetaType)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:182
Method
m
(cls: "type[S]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:205
Method
m
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:36
Method
m
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_1.py:85
Function
macros_not_utf8
()
crates/ruff_annotate_snippets/tests/formatter.rs:3359
Function
magic
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_params.py:13
Function
magic_globals_builtins
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1207
Function
magic_globals_file
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1200
Function
magic_globals_name
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1229
Function
magic_module_in_class_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1236
Function
magic_qualname_in_class_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1258
Function
main
Run the benchmark.
scripts/ty_benchmark/src/benchmark/run.py:21
Function
main
()
crates/ruff_annotate_snippets/examples/highlight_source.rs:3
Function
main
()
crates/ruff_annotate_snippets/examples/format.rs:3
Function
main
()
crates/ruff_annotate_snippets/examples/multi_suggestion.rs:3
Function
main
()
crates/ruff_annotate_snippets/examples/expected_type.rs:3
Function
main
()
crates/ruff_annotate_snippets/examples/struct_name_as_context.rs:2
Function
main
()
crates/ruff_annotate_snippets/examples/highlight_message.rs:6
Function
main
()
crates/ruff_annotate_snippets/examples/id_hyperlink.rs:4
Function
main
()
crates/ruff_annotate_snippets/examples/elide_header.rs:3
Function
main
()
crates/ruff_annotate_snippets/examples/multislice.rs:3
Function
main
()
crates/ruff_annotate_snippets/examples/custom_error.rs:4
Function
main
()
crates/ruff_annotate_snippets/examples/footer.rs:3
Function
main
()
crates/ruff_annotate_snippets/examples/custom_level.rs:4
Function
main
()
crates/ty_vendored/build.rs:98
Function
main
()
crates/ty/build.rs:7
Function
main
()
crates/ty/src/main.rs:21
Function
main
()
crates/ruff_benchmark/benches/ty_script.rs:92
Function
main
()
crates/ruff_benchmark/benches/module_resolution.rs:115
Function
main
()
crates/ruff_benchmark/benches/ty_ide.rs:502
Function
main
()
crates/ruff_benchmark/benches/ty_walltime.rs:277
Function
main
()
crates/ruff_benchmark/benches/ruff_walltime.rs:124
Function
main
()
crates/ty_completion_eval/src/main.rs:126
Function
main
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/assign.py:58
Function
main
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/semicolons.py:129
Function
main
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_await_parens.py:4
Function
main
()
crates/ruff_python_formatter/src/main.rs:17
Function
main
()
crates/ruff/build.rs:7
Function
main
()
crates/ruff/src/main.rs:30
Function
main
()
crates/ruff_text_size/tests/indexing.rs:4
Function
main
()
crates/ruff_text_size/tests/constructors.rs:13
Function
main
()
crates/ruff_unicode_names2/build.rs:15
Function
main
()
crates/ruff_unicode_names2/examples/name.rs:3
Function
main
()
crates/ruff_unicode_names2/examples/character.rs:3
Function
main
()
crates/ruff_unicode_names2/examples/count.rs:13
Function
main
()
crates/ty_completion_bench/src/main.rs:66
Function
main
()
crates/ty_wasm/build.rs:7
Function
main
()
crates/ruff_dev/src/main.rs:95
Function
main
(args: &Args)
crates/ruff_dev/src/generate_docs.rs:47
Function
main
(args: &Args)
crates/ruff_dev/src/generate_ty_env_vars_reference.rs:19
Function
main
(args: &Args)
crates/ruff_dev/src/print_tokens.rs:18
Function
main
(args: &Args)
crates/ruff_dev/src/print_cst.rs:15
Function
main
(args: &Args)
crates/ruff_dev/src/print_ast.rs:18
Function
main
(args: &Args)
crates/ruff_dev/src/round_trip.rs:18
Function
main
(args: &Args)
crates/ruff_dev/src/generate_all.rs:41
Function
main
(args: &Args)
crates/ruff_dev/src/format_dev.rs:229
Function
main
()
crates/ruff_linter/resources/test/fixtures/isort/lines_after_imports_func_after.py:21
Function
main
(_: List[int])
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/edge_case.py:5
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/ok_non_simplifiable_types.py:8
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/ok_no_types.py:1
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/import_typing_as.py:4
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/no_future_import_uses_lowercase.py:1
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/no_future_import_uses_union.py:1
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/ok_uses_future.py:4
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/from_typing_import.py:4
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/ok_variable_name.py:6
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/from_typing_import_many.py:4
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/ok_quoted_type.py:1
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/no_future_import_uses_union_inner.py:1
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_future_annotations/import_typing.py:4
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM117.py:105
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC250.py:27
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC100.py:39
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC115.py:72
Function
main
()
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S201.py:6
Function
main
()
crates/ruff_linter/resources/test/fixtures/pylint/sys_exit_alias_3.py:7
← previous
next →
23,801–23,900 of 31,766, ranked by callers