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
class_based_openness
( db: &'db dyn Db, class: ClassType<'db>, )
crates/ty_python_semantic/src/types/typed_dict.rs:278
Function
class_blank1
()
crates/ty_ide/src/completion.rs:4463
Function
class_blank2
()
crates/ty_ide/src/completion.rs:4483
Function
class_def_ignored
()
crates/ruff_linter/src/rules/pylint/rules/too_many_return_statements.rs:246
Method
class_def_stmt
(self)
crates/ruff_python_ast/src/generated.rs:412
Function
class_definition_references
()
crates/ty_ide/src/find_references.rs:660
Function
class_docstring_classification
()
crates/ty_ide/src/semantic_tokens.rs:3521
Function
class_excludes_method_bodies
()
crates/ty_ide/src/call_hierarchy/outgoing_calls.rs:465
Function
class_includes_decorators_bases_and_class_body
()
crates/ty_ide/src/call_hierarchy/outgoing_calls.rs:488
Function
class_init1
()
crates/ty_ide/src/completion.rs:4934
Function
class_init2
()
crates/ty_ide/src/completion.rs:4980
Function
class_init3
()
crates/ty_ide/src/completion.rs:5141
Method
class_literal_bindings
Prepares the built-in or inferred constructor signature for a class literal.
crates/ty_python_semantic/src/types.rs:7714
Method
class_member
Look up a class-level member by name.
crates/ty_python_semantic/src/types/class/named_tuple.rs:327
Method
class_member
Look up a class-level member by iterating through the MRO. Uses `MroLookup` with: - No inherited generic context (dynamic classes aren't generic). -
crates/ty_python_semantic/src/types/class/dynamic_literal.rs:411
Method
class_member
Look up a class member by name, checking own members, mixin, and base class. If members are unknown and nothing was found in the MRO, returns `Unknow
crates/ty_python_semantic/src/types/class/enum_literal.rs:266
Method
class_member_with_policy_inner
( db: &'db dyn Db, key: MemberLookupKey<'db>, )
crates/ty_python_semantic/src/types.rs:4507
Function
class_metaclass
()
crates/ty_ide/src/completion.rs:4566
Function
class_metaclass_generic
()
crates/ty_ide/src/completion.rs:4813
Function
class_metaclass_set
()
crates/ty_ide/src/completion.rs:4580
Method
class_method
(cls)
crates/ruff_linter/resources/test/fixtures/pylint/no_method_decorator.py:22
Method
class_method
(cls)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:18
Method
class_method_bound
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:74
Method
class_method_unbound
(cls: type[S])
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:77
Method
class_method_with_positional_only_argument
(cls, x, /, other)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:34
Function
class_multiple_bases_already_specified
()
crates/ty_ide/src/completion.rs:4663
Method
class_params_from_method
Extract parameters from a specific method (`__init__` or `__call__`) of a class.
crates/ruff_linter/src/rules/fastapi/rules/fastapi_unused_path_parameter.rs:378
Function
class_prefix1
()
crates/ty_ide/src/completion.rs:4427
Function
class_prefix2
()
crates/ty_ide/src/completion.rs:4447
Function
class_scope
()
crates/ty_python_core/src/lib.rs:1465
Function
class_scope_loads_resolve_local_and_enclosing_definitions
()
crates/ty_python_semantic/src/semantic_model.rs:1443
Function
class_super1
()
crates/ty_ide/src/completion.rs:4500
Function
class_super2
()
crates/ty_ide/src/completion.rs:4517
Function
class_super3
()
crates/ty_ide/src/completion.rs:4534
Function
class_super4
()
crates/ty_ide/src/completion.rs:4551
Function
class_type
()
crates/ty_python_semantic/src/semantic_model.rs:1216
Function
class_type_parameters
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:114
Function
class_type_parameters
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:105
Function
class_typed_dict_total
()
crates/ty_ide/src/completion.rs:4827
Function
class_typed_dict_total_alias
()
crates/ty_ide/src/completion.rs:4844
Function
class_typed_dict_total_pep695_generic
()
crates/ty_ide/src/completion.rs:4898
Function
class_typed_dict_total_set
()
crates/ty_ide/src/completion.rs:4861
Function
class_typed_dict_total_subclass
()
crates/ty_ide/src/completion.rs:4878
Function
class_typed_dict_total_typevar_generic
()
crates/ty_ide/src/completion.rs:4915
Function
class_under_the_func_with_blank_parentheses
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_blank_parentheses.py:16
Function
class_with_base_call
()
crates/ty_ide/src/call_hierarchy/outgoing_calls.rs:632
Function
classifies_flow_graph_cycles
()
crates/ty_python_semantic/src/types/cyclic.rs:1405
Function
classifies_only_supported_fixture_requests
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:2233
Function
classifies_recursive_parameter_flows
()
crates/ty_python_semantic/src/types/cyclic.rs:1566
Method
classify
( section_kind: HeaderKind, line: ParsedLine<'a>, also_parses_as_section_header: bool,
crates/ty_ide/src/docstring/document/google.rs:703
Method
classify
( db: &'db dyn Db, env: &'a ProgramEnvironment<'db>, source_parameters: &'a FxHashSet<
crates/ty_python_semantic/src/types/cyclic.rs:705
Method
classify
Use the keyword rule only if relaxing the superclass's keyword requirements makes the entire override assignable.
crates/ty_python_semantic/src/types/overrides.rs:1578
Function
classmethod_decorators
()
crates/ruff_linter/src/rules/pep8_naming/mod.rs:112
Method
classmethod_named_self
(self)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_2.py:13
Function
clause
Formats a clause, handling the case where the compound statement lies on a single line with `# fmt: skip` and should be suppressed.
crates/ruff_python_formatter/src/statement/clause.rs:564
Method
clause_body
(&self)
crates/ruff_python_formatter/src/statement/clause.rs:556
Method
clause_header
(&self)
crates/ruff_python_formatter/src/statement/clause.rs:547
Method
clause_start
(ranged: impl Ranged)
crates/ruff_python_formatter/src/statement/clause.rs:678
Method
clear_screen
()
crates/ty/src/printer.rs:102
Method
clear_screen
()
crates/ruff/src/printer.rs:442
Method
cli
(path: impl AsRef<SystemPath>)
crates/ty_project/src/metadata/value.rs:43
Method
cli
(value: T)
crates/ruff_ranged_value/src/lib.rs:184
Method
cli
(selector: impl Into<String>)
crates/ruff_linter/src/rule_selector.rs:61
Function
cli_all_rules_ignore
()
crates/ty/tests/cli/rule_selection.rs:1114
Function
cli_all_rules_precedence
()
crates/ty/tests/cli/rule_selection.rs:1192
Function
cli_all_rules_warn
()
crates/ty/tests/cli/rule_selection.rs:1147
Function
cli_and_configuration_exclude
()
crates/ty/tests/cli/file_selection.rs:1061
Function
cli_arguments_are_relative_to_the_current_directory
()
crates/ty/tests/cli/main.rs:245
Function
cli_arguments_override_script_environment
()
crates/ty/tests/cli/scripts.rs:692
Function
cli_arguments_override_script_options
()
crates/ty/tests/cli/scripts.rs:540
Function
cli_baseline_path
()
crates/ty/tests/cli/baseline.rs:313
Function
cli_config_args_invalid_option
()
crates/ty/tests/cli/config_option.rs:114
Function
cli_config_args_later_overrides_earlier
()
crates/ty/tests/cli/config_option.rs:93
Function
cli_config_args_overrides_ty_toml
()
crates/ty/tests/cli/config_option.rs:45
Function
cli_config_args_toml_string_basic
()
crates/ty/tests/cli/config_option.rs:6
Function
cli_python_selects_script_interpreter_without_replacing_its_environment
()
crates/ty/tests/cli/scripts.rs:2053
Function
cli_removes_config_exclude
()
crates/ty/tests/cli/file_selection.rs:603
Function
cli_rule_severity
()
crates/ty/tests/cli/rule_selection.rs:69
Function
cli_rule_severity_precedence
()
crates/ty/tests/cli/rule_selection.rs:165
Function
cli_source_resolves_relative_to_cwd
()
crates/ty_project/src/metadata/value.rs:225
Function
cli_specific_then_all
()
crates/ty/tests/cli/rule_selection.rs:1237
Function
cli_unknown_rules
()
crates/ty/tests/cli/rule_selection.rs:479
Function
cli_unsupported_python_version
()
crates/ty/tests/cli/python_environment.rs:1093
Function
client_options_rule_selectors_use_editor_source
()
crates/ruff_server/src/session/options.rs:525
Method
clone
(&self)
crates/ruff_db/src/system/path.rs:618
Method
clone_into
(&self, target: &mut IndexVec<I, T>)
crates/ruff_index/src/slice.rs:201
Function
close
(self)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:186
Method
close
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:235
Method
close_document
De-registers a document, specified by its key. Calling this multiple times for the same document is a logic error.
crates/ruff_server/src/session.rs:174
Method
close_file
Closes a file in the project.
crates/ty_project/src/lib.rs:611
Method
close_text_document
(&mut self, path: impl AsRef<Path>)
crates/ruff_server/tests/e2e/main.rs:740
Method
close_workspace_folder
Close a workspace folder at the given `uri`.
crates/ruff_server/src/session.rs:191
Function
closed_cached_stub_resolves_to_vendored_file
()
crates/ty_server/src/session.rs:2349
Function
closed_external_file_respects_project_editor_settings
()
crates/ty_server/tests/e2e/closed_documents.rs:202
Function
closed_recursive_alias_retains_its_identity
()
crates/ty_python_semantic/src/types/constraints/resolution.rs:486
Function
closed_script_import_is_preserved_before_uv_sync
()
crates/ty_server/tests/e2e/will_rename_files.rs:132
Function
closed_scripts_sync_at_startup_with_workspace_diagnostics
()
crates/ty_server/tests/e2e/script_preparation.rs:298
Function
closed_unrelated_file_uses_fallback_project
()
crates/ty_server/tests/e2e/closed_documents.rs:178
Method
closer
The docstring's closing quotes.
crates/ruff_linter/src/docstrings/mod.rs:82
Function
closest_to_furthest
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:1159
← previous
next →
16,901–17,000 of 31,766, ranked by callers