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
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:1778
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:620
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:4995
Function
metaclass2
()
crates/ty_ide/src/completion.rs:5060
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:219
Function
metadata_changes_resynchronize_the_script_environment
()
crates/ty/tests/file_watching.rs:4242
Function
metadata_range_accounts_for_unicode_crlf_and_multiline_values
()
crates/ruff_python_ast/src/script.rs:234
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 )
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:1739
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
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:113
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:119
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B024.py:124
Method
method
(self, _, a, A)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N803.py:6
Method
method
(self, _, a, A)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N803.py:18
Method
method
(self, _, a, badAllowed)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N803.py:8
Method
method
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:2
Method
method
(inner_self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:85
Method
method1
(self)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM117.py:131
Method
method1
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:613
Method
method1
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:13
Method
method1
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:48
Method
method1
(self, a: Literal[1])
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:69
Method
method1
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:160
Method
method2
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:617
Method
method2
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:16
Method
method2
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:51
Method
method2
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:163
Method
method3
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:19
Method
method3
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:54
Method
method3
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:166
Method
method4
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:22
Method
method4
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:57
Method
method5
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:25
Method
method5
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:60
Method
method6
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:28
Method
method6
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:63
Method
method7
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:31
Method
method8
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:34
Method
method9
(self)
crates/ruff_linter/resources/test/fixtures/pylint/too_many_public_methods.py:37
Method
method_and_var
(self)
crates/ty_python_semantic/resources/corpus/76_class_nonlocal4.py:6
Method
method_available
Returns `true` if this error indicates the subscript method was available (even if the call failed). Returns `false` for `NotSubscriptable` errors.
crates/ty_python_semantic/src/types/subscript.rs:469
Function
method_call
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:1071
Function
method_calls
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:65
Method
method_docstring
(self)
crates/ruff_linter/resources/test/fixtures/flake8_implicit_str_concat/ISC003_docstring.py:33
Function
method_does_not_confuse_with_same_name_on_other_class
()
crates/ty_ide/src/call_hierarchy/incoming_calls.rs:837
Function
method_on_ambiguous_numeric_type
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1836
Method
method_usage
(self)
crates/ruff_linter/resources/test/fixtures/flake8_builtins/A003.py:17
Method
method_with_default
(self, arg='default')
crates/ruff_python_parser/resources/valid/statement/class.py:23
← previous
next →
24,701–24,800 of 31,562, ranked by callers