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
Function
closing_deleted_file_clears_diagnostics_before_watcher_notification
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:1511
Function
closing_external_file_preserves_open_files
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:1463
Function
closure_use_does_not_mark_shadowed_binding_used
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:699
Function
closure_uses_later_annotated_binding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:823
Function
closure_uses_later_shadowing_binding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:793
Function
closure_uses_nearest_shadowed_binding
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:762
Method
cls_as_argument
(this, cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:54
Method
cls_as_kw_only_argument
(this, *, cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:60
Method
cls_as_kwargs
(this, **cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:66
Method
cls_as_pos_only_argument
(this, cls, /)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:57
Method
cls_as_varargs
(this, *cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:63
Method
cls_for
(event_name: str)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/regressions.py:5
Method
cls_method
(cls)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:500
Method
cls_method_a
( # fmt: off cls, )
crates/ruff_linter/resources/test/fixtures/ruff/RUF028.py:53
Method
cmp
(&self, other: &Self)
crates/ruff_ranged_value/src/lib.rs:332
Function
coalesces_conditional_definitions
()
crates/ty_ide/src/pytest_test_discovery.rs:276
Function
code_action
()
crates/ty_server/tests/e2e/code_actions.rs:49
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:1873
Method
code_generator_of_dynamic_class
( db: &'db dyn Db, class: DynamicClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class.rs:276
Method
code_generator_of_static_class
( db: &'db dyn Db, class: StaticClassLiteral<'db>, )
crates/ty_python_semantic/src/types/class.rs:214
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:3784
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:1278
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:251
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:6233
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:4483
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:404
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:1974
Function
combines_flows_from_multiple_recursive_references
()
crates/ty_python_semantic/src/types/cyclic.rs:1384
Function
combines_project_edits_and_skips_conflicting_files
()
crates/ty_server/tests/e2e/will_rename_files.rs:245
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:2939
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
Method
commit_for
(candidates: &OverloadSet, narrowing: bool)
crates/ty_python_semantic/src/types/infer/builder.rs:13284
Function
compact_definition_types_omit_owner
()
crates/ty_python_semantic/src/types/infer/tests.rs:240
← previous
next →
17,001–17,100 of 31,766, ranked by callers