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
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/quoted_annotation.rs:96
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/context_manager_iterator.rs:76
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_class_parentheses.rs:39
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/non_pep646_unpack.rs:51
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/redundant_open_modes.rs:42
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/f_strings.rs:52
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/lru_cache_with_maxsize_none.rs:54
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/native_literals.rs:152
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/open_alias.rs:45
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/use_pep604_annotation.rs:74
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_builtin_import.rs:52
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/replace_stdout_stderr.rs:54
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/useless_metaclass_type.rs:38
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/convert_named_tuple_functional_to_class.rs:65
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/super_call_with_parameters.rs:63
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_unittest_alias.rs:51
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/use_pep585_annotation.rs:76
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_mock_import.rs:68
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/while_one.rs:39
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/useless_object_inheritance.rs:43
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/printf_string_formatting.rs:86
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/extraneous_parentheses.rs:34
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/lru_cache_without_parameters.rs:48
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_import.rs:81
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_future_import.rs:55
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unnecessary_coding_comment.rs:38
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/use_pep604_isinstance.rs:83
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/typing_text_str_alias.rs:44
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/useless_class_metaclass_type.rs:42
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/unicode_kind_prefix.rs:34
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/outdated_version_block.rs:65
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/type_of_primitive.rs:43
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/datetime_utc_alias.rs:49
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/non_pep695_type_alias.rs:111
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/non_pep695_generic_function.rs:94
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/private_type_parameter.rs:93
Method
message
(&self)
crates/ruff_linter/src/rules/pyupgrade/rules/pep695/non_pep695_generic_class.rs:144
Function
message_before_primary_snippet
()
crates/ruff_annotate_snippets/tests/formatter.rs:4500
Method
message_formats
()
crates/ruff_linter/src/rules/flake8_annotations/rules/definition.rs:165
Method
message_formats
()
crates/ruff_linter/src/rules/flake8_pytest_style/rules/fixture.rs:252
Method
message_formats
()
crates/ruff_linter/src/rules/pylint/rules/and_or_ternary.rs:42
Method
message_formats
()
crates/ruff_linter/src/rules/pyupgrade/rules/unpacked_list_comprehension.rs:40
Function
message_with_related_information_support
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:692
Function
message_without_related_information_support
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:667
Function
messages
()
crates/ruff/tests/cli/format.rs:596
Function
meta_class_undefined
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1783
Method
meta_write_requirement
Returns the write requirement exposed through `type[Protocol]` lookup. Only members required on every class object that satisfies the meta-protocol a
crates/ty_python_semantic/src/types/protocol_class.rs:633
Method
metaclass
Returns the metaclass of this namedtuple. Namedtuples always have `type` as their metaclass.
crates/ty_python_semantic/src/types/class/named_tuple.rs:274
Method
metaclass
Returns the metaclass of this `TypedDict`. `TypedDict`s use `type` as their metaclass.
crates/ty_python_semantic/src/types/class/typed_dict.rs:1003
Method
metaclass
Get the metaclass of this dynamic class. Derives the metaclass from base classes: finds the most derived metaclass that is a subclass of all other ba
crates/ty_python_semantic/src/types/class/dynamic_literal.rs:263
Method
metaclass
(self, db: &'db dyn Db)
crates/ty_python_semantic/src/types/class/enum_literal.rs:188
Function
metaclass1
()
crates/ty_ide/src/completion.rs:5005
Function
metaclass2
()
crates/ty_ide/src/completion.rs:5070
Method
metadata
Returns the TOML contents of the metadata block.
crates/ruff_python_ast/src/script.rs:26
Method
metadata
Returns the extracted metadata.
crates/ruff_options_metadata/src/lib.rs:29
Method
metadata
(&self)
crates/ruff_notebook/src/cell.rs:37
Function
metadata_block_range_includes_both_delimiters
()
crates/ruff_python_ast/src/script.rs:248
Function
metadata_changes_resynchronize_the_script_environment
()
crates/ty/tests/file_watching.rs:4250
Function
metadata_range_accounts_for_unicode_crlf_and_multiline_values
()
crates/ruff_python_ast/src/script.rs:263
Function
metadata_without_tool_ty_inherits_project_settings_and_overrides
()
crates/ty/tests/cli/scripts.rs:248
Method
meth_apple
(self)
crates/ty_completion_eval/truth/import-deprioritizes-type_check_only/module.py:18
Method
meth_azurous
(self)
crates/ty_completion_eval/truth/import-deprioritizes-type_check_only/module.py:20
Method
method
(&self, request_id: &RequestId)
crates/ty_server/src/session/request_queue.rs:83
Method
method
( self )
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/fmt_on_off.py:5
Method
method
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_fmt_off_decorator.py:11
Method
method
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/allow_empty_first_line.py:60
Method
method
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/no_blank_line_before_docstring.py:14
Method
method
()
crates/ruff_python_parser/resources/valid/statement/class.py:15
Method
method
(self)
crates/ty_python_semantic/resources/corpus/cyclic_implicit_attr_union.py:7
Method
method
(self, x: T)
crates/ty_python_semantic/resources/corpus/88_regression_generic_method_with_nested_function.py:5
Method
method
( db: &'db dyn Db, callable: CallableType<'db>, definition: Option<Definition<'db>>,
crates/ty_python_semantic/src/types/protocol_class.rs:1797
Method
method
01234567
crates/ruff_linter/resources/test/fixtures/refurb/FURB156.py:46
Method
method
(self=None)
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:23
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_tidy_imports/TID255.py:32
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/auto_return_type.py:158
Method
method
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/auto_return_type.py:318
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF056.py:65
Method
method
(arg)
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_0.py:70
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:46
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:316
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:362
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:86
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/pylint/nonlocal_without_binding.py:50
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:19
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:25
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:31
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:37
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:43
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:49
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:55
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:61
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:67
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:72
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:78
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:83
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:88
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:93
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:98
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:103
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:108
← previous
next →
24,801–24,900 of 31,766, ranked by callers