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
Method
class_member_with_policy_inner
( db: &'db dyn Db, key: MemberLookupKey<'db>, )
crates/ty_python_semantic/src/types.rs:4508
Function
class_metaclass
()
crates/ty_ide/src/completion.rs:4556
Function
class_metaclass_generic
()
crates/ty_ide/src/completion.rs:4803
Function
class_metaclass_set
()
crates/ty_ide/src/completion.rs:4570
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:4653
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:4417
Function
class_prefix2
()
crates/ty_ide/src/completion.rs:4437
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:1445
Function
class_super1
()
crates/ty_ide/src/completion.rs:4490
Function
class_super2
()
crates/ty_ide/src/completion.rs:4507
Function
class_super3
()
crates/ty_ide/src/completion.rs:4524
Function
class_super4
()
crates/ty_ide/src/completion.rs:4541
Function
class_type
()
crates/ty_python_semantic/src/semantic_model.rs:1218
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:4817
Function
class_typed_dict_total_alias
()
crates/ty_ide/src/completion.rs:4834
Function
class_typed_dict_total_pep695_generic
()
crates/ty_ide/src/completion.rs:4888
Function
class_typed_dict_total_set
()
crates/ty_ide/src/completion.rs:4851
Function
class_typed_dict_total_subclass
()
crates/ty_ide/src/completion.rs:4868
Function
class_typed_dict_total_typevar_generic
()
crates/ty_ide/src/completion.rs:4905
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:1393
Function
classifies_only_supported_fixture_requests
()
crates/ty_python_semantic/src/types/dedicated/pytest/fixtures.rs:1963
Function
classifies_recursive_parameter_flows
()
crates/ty_python_semantic/src/types/cyclic.rs:1554
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:693
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:1579
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:105
Method
clear_screen
()
crates/ruff/src/printer.rs:445
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:1984
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:601
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:2321
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:487
Function
closed_scripts_are_prepared_at_startup
()
crates/ty_server/tests/e2e/script_preparation.rs:16
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:1129
Function
closing_deleted_file_clears_diagnostics_before_watcher_notification
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:1477
Function
closing_external_file_preserves_open_files
()
crates/ty_server/tests/e2e/pull_diagnostics.rs:1429
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
← previous
next →
16,801–16,900 of 31,562, ranked by callers