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
code_action_attribute_access_on_unimported
()
crates/ty_server/tests/e2e/code_actions.rs:337
Function
code_action_existing_import_undefined_decorator
()
crates/ty_server/tests/e2e/code_actions.rs:299
Function
code_action_invalid_string_annotations
()
crates/ty_server/tests/e2e/code_actions.rs:408
Function
code_action_possible_missing_submodule_attribute
()
crates/ty_server/tests/e2e/code_actions.rs:372
Function
code_action_undefined_decorator
()
crates/ty_server/tests/e2e/code_actions.rs:263
Function
code_action_undefined_reference_multi
()
crates/ty_server/tests/e2e/code_actions.rs:190
Function
code_action_undefined_reveal
()
crates/ty_server/tests/e2e/code_actions.rs:121
Function
code_action_unsafe_fix
()
crates/ty_server/tests/e2e/code_actions.rs:86
Function
code_action_with_full_diagnostic_output_link
()
crates/ty_server/tests/e2e/code_actions.rs:224
Function
code_action_without_valid_url_returns_unchanged_action
()
crates/ruff_server/tests/e2e/code_action.rs:235
Method
code_actions
( &self, file_id: &FileHandle, diagnostic: &Diagnostic, )
crates/ty_wasm/src/lib.rs:684
Method
code_actions
(&self, lint: &LintMetadata)
crates/ty_ide/src/code_action.rs:964
Function
code_actions_for_python
()
crates/ruff_server/tests/e2e/code_action.rs:34
Function
code_actions_for_toml
()
crates/ruff_server/tests/e2e/code_action.rs:85
Function
code_block
()
crates/ty_ide/src/docstring.rs:791
Function
code_block_lang
()
crates/ty_ide/src/docstring.rs:818
Function
code_block_prefix_gunk
()
crates/ty_ide/src/docstring.rs:845
Function
code_blocks_must_not_be_indented
()
crates/mdtest/src/parser.rs:1876
Method
code_generator_of_dynamic_class
( db: &'db dyn Db, class: DynamicClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class.rs:273
Method
code_generator_of_static_class
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class.rs:211
Function
code_to_rule
(linter: Linter, code: &str)
crates/ruff_linter/src/codes.rs:238
Method
collect_comments
( root: AnyNodeRef<'a>, source_code: SourceCode<'a>, trivia: &'a TriviaRan
crates/ruff_python_formatter/src/comments/mod.rs:243
Method
collect_expr
( expr: ast::ExprRef<'a>, parts: &mut SmallVec<[MemberPathPart<'a>; 8]>, segments: &mu
crates/ty_python_core/src/member.rs:242
Function
collect_paths
( db: &'db TestDb, builder: &'c ConstraintSetBuilder<'db>, set: ConstraintSet<'db, 'c>, typeva
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:94
Method
collect_typed_dicts
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, ty: Type<'db>,
crates/ty_python_semantic/src/types/generics.rs:3763
Method
collect_union
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, ty: Type<'db>,
crates/ty_python_semantic/src/types/equality/enums.rs:803
Method
collected_tests
(&self)
crates/ty_python_semantic/src/types/dedicated/pytest/collection.rs:1216
Function
collected_types_spills_without_losing_deduplication
()
crates/ty_python_semantic/src/types/visitor.rs:1265
Function
collects_function_aliases_and_imports
()
crates/ty_python_semantic/src/types/dedicated/pytest/collection.rs:882
Function
collects_generic_functions_and_classes
()
crates/ty_python_semantic/src/types/dedicated/pytest/collection.rs:678
Function
collects_only_remaining_bindings
()
crates/ty_python_semantic/src/types/dedicated/pytest/collection.rs:826
Function
collects_parametrized_generic_function_once
()
crates/ty_python_semantic/src/types/dedicated/pytest/collection.rs:717
Function
collects_pytest_and_unittest_functions
()
crates/ty_python_semantic/src/types/dedicated/pytest/collection.rs:518
Function
collects_unittest_run_test_only_without_named_tests
()
crates/ty_python_semantic/src/types/dedicated/pytest/collection.rs:1143
Function
color_in_piped_diagnostics
(flag: Option<&str>, env: &[(&str, &str)])
crates/ty/tests/cli/main.rs:656
Function
colour_science
(bencher: Bencher)
crates/ruff_benchmark/benches/ty_walltime.rs:226
Function
column_and_line_zero
()
crates/ruff/tests/cli/format.rs:2406
Function
column_number_not_allowed_after_message
()
crates/mdtest/src/matcher.rs:1469
Function
column_number_not_allowed_after_rule_code
()
crates/mdtest/src/matcher.rs:1445
Function
column_only_error_assertion_not_allowed
()
crates/mdtest/src/matcher.rs:1300
Function
combinators_only_short_circuit_on_terminal_saturation
()
crates/ty_python_semantic/src/types/constraints.rs:6120
Method
combine
(mut self, other: Self)
crates/ty_combine/src/lib.rs:58
Method
combine
(mut self, other: Self)
crates/ruff_server/src/session/options.rs:405
Method
combine
(self, other: RuntimeSemantics)
crates/ruff_linter/src/rules/flake8_type_checking/settings.rs:41
Function
combine_as_imports
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:614
Function
combine_map
()
crates/ty_combine/src/lib.rs:208
Function
combine_option
()
crates/ty_combine/src/lib.rs:191
Function
combine_order_map
()
crates/ty_combine/src/lib.rs:228
Function
combine_typing_extensions_config
()
crates/ruff/tests/cli/lint.rs:4469
Function
combine_vec
()
crates/ty_combine/src/lib.rs:198
Method
combine_with
(&mut self, _other: Self)
crates/ty_project/src/metadata/python_version.rs:96
Method
combine_with
(&mut self, _other: Self)
crates/ty_server/src/session/options.rs:400
Method
combine_with
(&mut self, _other: Self)
crates/ty_python_core/src/platform.rs:59
Method
combine_with
(&mut self, _other: Self)
crates/ty_python_semantic/src/lib.rs:161
Function
combined_range_suppressions
()
crates/ruff_linter/src/suppression.rs:1975
Function
combines_flows_from_multiple_recursive_references
()
crates/ty_python_semantic/src/types/cyclic.rs:1372
Function
combines_project_edits_and_skips_conflicting_files
()
crates/ty_server/tests/e2e/will_rename_files.rs:97
Method
command
Generate a command to benchmark a given tool.
scripts/ty_benchmark/src/benchmark/tool.py:72
Method
command
(self, project: Project, venv: Venv, single_threaded: bool)
scripts/ty_benchmark/src/benchmark/tool.py:169
Method
command
(self, project: Project, venv: Venv, single_threaded: bool)
scripts/ty_benchmark/src/benchmark/tool.py:260
Method
command
(self, project: Project, venv: Venv, single_threaded: bool)
scripts/ty_benchmark/src/benchmark/tool.py:305
Method
command
(self, project: Project, venv: Venv, single_threaded: bool)
scripts/ty_benchmark/src/benchmark/tool.py:381
Method
command
(&self)
crates/ruff/tests/cli/analyze_graph.rs:180
Method
command_executor
(&self)
crates/ruff_db/src/system/os.rs:133
Function
comment_attributes
()
crates/ruff_linter/src/suppression.rs:2940
Function
comment_before_docstring
Does nothing. But it has comments
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:49
Function
comment_containing_single_quoted_string
()
crates/ruff_python_trivia_integration_tests/tests/simple_tokenizer.rs:299
Function
comment_containing_triple_quoted_string
()
crates/ruff_python_trivia_integration_tests/tests/simple_tokenizer.rs:292
Function
comment_contains_code_basic
()
crates/ruff_linter/src/rules/eradicate/detection.rs:136
Function
comment_contains_code_single_line
()
crates/ruff_linter/src/rules/eradicate/detection.rs:197
Function
comment_contains_code_with_default_allowlist
()
crates/ruff_linter/src/rules/eradicate/detection.rs:281
Function
comment_contains_code_with_encoding
()
crates/ruff_linter/src/rules/eradicate/detection.rs:271
Function
comment_contains_code_with_multiline
()
crates/ruff_linter/src/rules/eradicate/detection.rs:218
Function
comment_contains_code_with_print
()
crates/ruff_linter/src/rules/eradicate/detection.rs:181
Function
comment_contains_code_with_return
()
crates/ruff_linter/src/rules/eradicate/detection.rs:190
Function
comment_contains_code_with_sentences
()
crates/ruff_linter/src/rules/eradicate/detection.rs:266
Function
comment_contains_language_injection
()
crates/ruff_linter/src/rules/eradicate/detection.rs:360
Function
comment_contains_todo
()
crates/ruff_linter/src/rules/eradicate/detection.rs:402
Function
comment_test
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:96
Function
comment_until_eol
(eol: &str)
crates/ruff_python_parser/src/lexer.rs:2025
Method
comments
Returns the indexed comment ranges.
crates/ruff_python_trivia/src/comment_ranges.rs:32
Function
compact_definition_types_omit_owner
()
crates/ty_python_semantic/src/types/infer/tests.rs:240
Function
comparable_debug_text
The full debug text, including leading and trailing whitespace, appears in the runtime value. If `x` is 1, `f"{x =}"` produces `"x =1"` and `f"{x=}"`
crates/ruff_python_ast/src/comparable.rs:804
Function
compare
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:37
Function
compare
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:28
Function
compare_check
( ruff_baseline_executable: Path, ruff_comparison_executable: Path, options: CheckOptions, con
python/ruff-ecosystem/ruff_ecosystem/check.py:505
Method
compare_expr
(self)
crates/ruff_python_ast/src/generated.rs:2175
Method
compare_expr
Return a new compare expr of the form `left op right`
crates/ruff_linter/src/rules/ruff/rules/unnecessary_regular_expression.rs:334
Function
compare_fields
(node: &ast::ExprCompare)
crates/ruff_python_ast/src/comparable.rs:1248
Function
compare_format
( ruff_baseline_executable: Path, ruff_comparison_executable: Path, options: FormatOptions, co
python/ruff-ecosystem/ruff_ecosystem/format.py:138
Function
compare_values
Compare two integer values. Parameters ---------- x1, x2 : int Values to compare. Returns ------- bool True
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:392
Method
comparison_class
(db: &'db dyn Db, ty: Type<'db>)
crates/ty_python_semantic/src/types/literal.rs:534
Function
comparison_truthiness_widens_across_sparse_cycle_results
()
crates/ty_python_semantic/src/types/infer/tests.rs:625
Function
complete_class_parentheses
()
crates/ty_ide/src/completion.rs:10776
Function
complete_class_parentheses_disabled_by_default
()
crates/ty_ide/src/completion.rs:10796
Function
complete_function_parentheses
()
crates/ty_server/tests/e2e/completions.rs:153
Function
complete_function_parentheses
()
crates/ty_ide/src/completion.rs:10717
Method
complete_function_parentheses
When set, completions insert parentheses for callable items.
crates/ty_ide/src/completion.rs:11615
Function
complete_function_parentheses_class_base
()
crates/ty_ide/src/completion.rs:10944
Function
complete_function_parentheses_decorator_name
()
crates/ty_ide/src/completion.rs:10920
← previous
next →
16,901–17,000 of 31,562, ranked by callers