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
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
Function
methods_dont_use_class_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2907
Function
migration_name
()
crates/ruff_python_stdlib/src/identifiers.rs:136
Function
minimum_depth
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:379
Function
mismatched_types1
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:3243
Function
mismatched_types2
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:3326
Function
mismatching_lang
()
crates/mdtest/src/parser.rs:1748
Function
missing_argfile_reports_error
Regression test for https://github.com/astral-sh/ruff/issues/20655
crates/ruff/tests/integration_test.rs:1924
Function
missing_baseline_is_reported
()
crates/ty/tests/cli/baseline.rs:449
Function
missing_colon_google_style_section
Toggle the gizmo. Args note: A random string.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:277
Function
missing_dependency_does_not_use_declared_default
()
crates/ty_python_semantic/src/types/generics.rs:5720
Function
missing_file
()
crates/ruff_db/src/diagnostic/render/concise.rs:211
Function
missing_file
()
crates/ruff_db/src/diagnostic/render/pylint.rs:84
Function
missing_file
()
crates/ruff_db/src/diagnostic/render/json.rs:274
Function
missing_file
()
crates/ruff_db/src/diagnostic/render/github.rs:210
Function
missing_file_and_range
()
crates/ruff_db/src/diagnostic/render/grouped.rs:319
Function
missing_file_preview
()
crates/ruff_db/src/diagnostic/render/rdjson.rs:243
Function
missing_file_stable
()
crates/ruff_db/src/diagnostic/render/rdjson.rs:229
Function
missing_fstring_syntax_backslash_py311
()
crates/ruff_linter/src/rules/ruff/mod.rs:244
Function
missing_modules_do_not_create_file_inputs
()
crates/ty_module_resolver/src/resolve.rs:2141
Method
missing_return
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066_custom_property_decorator.py:6
Function
missing_semicolon
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1584
Function
missing_virtual_env
()
crates/ty/tests/cli/python_environment.rs:2335
Function
missing_virtual_env_does_not_panic
()
crates/ty_server/tests/e2e/initialize.rs:566
Method
mixed
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, prefix: impl IntoIterator<Item = Typ
crates/ty_python_semantic/src/types/tuple.rs:211
Function
mixed_class_assignment
(x)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:305
Function
mixed_evidence_may_use_a_caller_typevars_declared_bound
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:484
Function
mixed_function_assignment
(x)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:293
Function
mixed_indentation
Arguments: arg1: super duper arg with a tab and a space in front
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_tab_indentation.py:51
Function
mixed_levels
()
crates/ruff/tests/cli/lint.rs:121
Function
mixed_line_endings
()
crates/ruff/tests/cli/format.rs:393
Function
mixed_string_and_bytes_literals
()
crates/ty_ide/src/semantic_tokens.rs:4423
Method
mixed_with_segment
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, prefix: impl IntoIterator<Item = Typ
crates/ty_python_semantic/src/types/tuple.rs:227
Method
mixing_old_and_new_style_type_vars
(self: _S695, a: T, b: T)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:89
Function
mocked_typeshed_existing_namespace_stdlib_pkg_py38
()
crates/ty_module_resolver/src/path.rs:1309
Function
mocked_typeshed_existing_namespace_stdlib_pkg_py39
()
crates/ty_module_resolver/src/path.rs:1458
Function
mocked_typeshed_existing_regular_stdlib_pkg_py38
()
crates/ty_module_resolver/src/path.rs:1272
Function
mocked_typeshed_existing_regular_stdlib_pkgs_py39
()
crates/ty_module_resolver/src/path.rs:1413
Function
mocked_typeshed_nonexistent_namespace_stdlib_pkg_py38
()
crates/ty_module_resolver/src/path.rs:1371
Function
mocked_typeshed_nonexistent_namespace_stdlib_pkg_py39
()
crates/ty_module_resolver/src/path.rs:1484
Function
mocked_typeshed_nonexistent_regular_stdlib_pkg_py38
()
crates/ty_module_resolver/src/path.rs:1352
Function
mocked_typeshed_nonexistent_single_file_module_py38
()
crates/ty_module_resolver/src/path.rs:1394
Function
mocked_typeshed_single_file_stdlib_module_py38
()
crates/ty_module_resolver/src/path.rs:1333
Function
mod_expression_fields
(node: &ast::ModExpression)
crates/ruff_python_ast/src/comparable.rs:2091
Function
mod_module_fields
(node: &ast::ModModule)
crates/ruff_python_ast/src/comparable.rs:2082
Function
model_assign
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N806.py:45
Function
modification
()
crates/ruff_linter/src/noqa.rs:3349
Function
modified_range
( unformatted: &str, formatted: &str, expect_unformatted: Range<u32>, expect_f
crates/ruff/src/commands/format.rs:1388
Function
modifying_pth_file_invalidates_dynamic_resolution_paths
()
crates/ty_module_resolver/src/resolve.rs:3280
Method
module
()
crates/ruff_python_semantic/src/definition.rs:27
Method
module
Creates a new `Import` to import the specified module.
crates/ruff_python_semantic/src/imports.rs:82
Method
module
(self)
crates/ruff_python_ast/src/generated.rs:53
Method
module
(&self, module: &str)
crates/ty_ide/src/importer.rs:22
Function
module_annotate_pre_py314_undefined
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1185
Function
module_annotate_py314_available
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1170
Function
module_annotations
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1157
Function
module_api
()
crates/ty_ide/src/completion.rs:3673
Function
module_conflict_with_other_import
()
crates/ty_ide/src/importer.rs:783
Function
module_docstring_classification
()
crates/ty_ide/src/semantic_tokens.rs:3553
Function
module_enumeration_combines_partial_stub_namespaces_with_source_packages
()
crates/ty_module_resolver/src/resolve/search.rs:1345
Function
module_enumeration_combines_stub_overrides_with_source_siblings
()
crates/ty_module_resolver/src/resolve/search.rs:1378
Function
module_enumeration_excludes_local_files_with_protected_standard_library_names
()
crates/ty_module_resolver/src/resolve/search.rs:1288
← previous
next →
24,901–25,000 of 31,766, ranked by callers