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
Function
builtin_windows_error
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1145
Function
builtins
()
crates/ty_ide/src/completion.rs:3515
Function
builtins
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1140
Function
builtins_allowed_modules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_builtins/mod.rs:203
Function
builtins_custom
()
crates/ty_module_resolver/src/resolve.rs:2117
Function
builtins_custom
()
crates/ty_module_resolver/src/list.rs:161
Function
builtins_ignorelist
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_builtins/mod.rs:160
Function
builtins_not_included_import
()
crates/ty_ide/src/completion.rs:3625
Function
builtins_not_included_object_attr
()
crates/ty_ide/src/completion.rs:3613
Function
builtins_vendored
()
crates/ty_module_resolver/src/resolve.rs:2100
Function
builtins_vendored
()
crates/ty_module_resolver/src/list.rs:130
Function
bundled_ty_extensions_module_completion
()
crates/ty_ide/src/completion.rs:10070
Function
bundled_typeshed_module_completion
()
crates/ty_ide/src/completion.rs:10085
Function
bundled_typing_extensions_module_completion
()
crates/ty_ide/src/completion.rs:10057
Function
buzz
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI010.py:9
Method
buzz
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pie/PIE794.py:28
Function
byte_string_in_docstring_position
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:330
Function
bytes_across_part_boundaries
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:132
Function
bytes_in_docstring_position
()
crates/ruff_linter/resources/test/fixtures/flake8_implicit_str_concat/ISC003_docstring.py:50
Method
bytes_literal
Create a promotable bytes literal.
crates/ty_python_semantic/src/types.rs:3431
Method
bytes_literal_expr
(self)
crates/ruff_python_ast/src/generated.rs:2360
Function
bytes_literal_fields
(node: &ast::ExprBytesLiteral)
crates/ruff_python_ast/src/comparable.rs:1309
Function
bytes_literal_parts
( node: &ast::ExprBytesLiteral, )
crates/ruff_python_ast/src/comparable.rs:900
Function
bytes_literals
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:141
Function
bytes_literals
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:132
Function
bytes_literals
()
crates/ty_ide/src/semantic_tokens.rs:4396
Function
bytes_okay
(value=bytes(1))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:195
Function
bytes_to_mb
(total: usize)
crates/ty_project/src/db.rs:404
Function
c
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB187.py:14
Function
c
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:169
Function
c
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_0.py:49
Method
c
(cls)
crates/ruff_linter/resources/test/fixtures/pyflakes/future_annotations.py:26
Function
c2
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB187.py:20
Function
cache_adds_file_on_lint
()
crates/ruff/src/cache.rs:640
Function
cache_adds_files_on_format
()
crates/ruff/src/cache.rs:725
Function
cache_adds_files_on_lint
()
crates/ruff/src/cache.rs:664
Method
cache_dir
(&self)
crates/ty_server/src/system.rs:265
Method
cache_dir
(&self)
crates/ruff_db/src/system/test.rs:151
Method
cache_dir
(&self)
crates/ty_wasm/src/lib.rs:1686
Function
cache_does_not_add_file_on_lint_with_diagnostic
()
crates/ruff/src/cache.rs:691
Function
cache_file_permissions_match_default_file_permissions
()
crates/ruff/src/cache.rs:887
Function
cache_invalidated_on_file_modified_time
()
crates/ruff/src/cache.rs:753
Function
cache_invalidated_on_permission_change
()
crates/ruff/src/cache.rs:792
Function
cache_key
(input: TokenStream)
crates/ruff_macros/src/lib.rs:76
Function
cache_key
Returns a hash key based on the `package_root`, `settings` and the crate version.
crates/ruff/src/cache.rs:365
Method
cache_key
(&self, hasher: &mut ruff_cache::CacheKeyHasher)
crates/ruff_db/src/system/path.rs:767
Method
cache_key
(&self, state: &mut CacheKeyHasher)
crates/ruff_cache/src/filetime.rs:8
Method
cache_key
(&self, state: &mut CacheKeyHasher)
crates/ruff_linter/src/line_width.rs:63
Method
cache_key
(&self, state: &mut CacheKeyHasher)
crates/ruff_linter/src/rules/pylint/settings.rs:90
Method
cache_key
(&self, state: &mut CacheKeyHasher)
crates/ruff_linter/src/rules/pep8_naming/settings.rs:180
Method
cache_key_slice
(data: &[Self], state: &mut CacheKeyHasher)
crates/ruff_cache/src/cache_key.rs:77
Function
cache_removes_stale_files_on_persist
()
crates/ruff/src/cache.rs:848
Function
cache_syntax_errors
()
crates/ruff/tests/cli/lint.rs:4285
Method
cached_classmethod
(cls, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:31
Method
cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:79
Method
cached_prop
(self, value)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:48
Method
cached_staticmethod
(y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:51
Function
caches_results_and_spills_after_two_entries
()
crates/ty_python_semantic/src/types/cyclic.rs:1649
Function
calculate_speed
Calculate speed as distance divided by time. Args: distance: Distance traveled. time: Time spent traveling. Returns:
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC502_google.py:6
Function
calculate_speed
Calculate speed as distance divided by time. Parameters ---------- distance : float Distance traveled. time : float
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC502_numpy.py:6
Function
calculate_speed
Calculate speed as distance divided by time. Args: distance: Distance traveled. time: Time spent traveling. Returns:
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC501_google.py:13
Function
calculate_speed
Calculate speed as distance divided by time. Parameters ---------- distance : float Distance traveled. time : float
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC501_numpy.py:6
Function
calculate_total_price
Calculates the total price after applying tax and a discount. Args: item_prices (list of float): A list of prices for each item.
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_google.py:68
Function
calculate_total_price
Calculates the total price after applying tax and a discount. Parameters ---------- item_prices : list of float A list of pr
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:89
Function
call
PLE1300 Ex) `"{:z}".format("1")`
crates/ruff_linter/src/rules/pylint/rules/bad_string_format_character.rs:42
Function
call_argument_forms_preserve_known_type_form_parameters
()
crates/ty_python_semantic/src/types/ide_support.rs:2445
Method
call_argument_name
( position: TextSize, name: &str, navigation_target: Option<NavigationTarget>, )
crates/ty_ide/src/inlay_hints.rs:206
Function
call_arguments
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:63
Function
call_arguments_cursor_middle
()
crates/ty_ide/src/completion.rs:5548
Function
call_arguments_multi_def
()
crates/ty_ide/src/completion.rs:5530
Function
call_attribute_argument_no_arg_completions
()
crates/ty_ide/src/completion.rs:5669
Function
call_bare_paramspec_has_no_keyword_argument_completions
()
crates/ty_ide/src/completion.rs:5611
Function
call_blank1
()
crates/ty_ide/src/completion.rs:5650
Function
call_fields
(node: &ast::ExprCall)
crates/ruff_python_ast/src/comparable.rs:1267
Function
call_form_multiline
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:93
Method
call_form_raises
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_1.py:19
Function
call_form_with_kwarg
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:86
Function
call_keyword_argument_at_value
()
crates/ty_ide/src/completion.rs:11449
Function
call_keyword_only_argument
()
crates/ty_ide/src/completion.rs:5440
Function
call_keyword_only_argument_between_variadic_parameters
()
crates/ty_ide/src/completion.rs:5462
Function
call_keyword_only_argument_between_variadic_parameters_after_positional_argument
()
crates/ty_ide/src/completion.rs:5478
Function
call_multiple_keyword_arguments
()
crates/ty_ide/src/completion.rs:5494
Function
call_multiple_keyword_arguments_some_set
()
crates/ty_ide/src/completion.rs:5514
Function
call_positional_only_argument
()
crates/ty_ide/src/completion.rs:5564
Function
call_positional_only_keyword_only_argument_mix
()
crates/ty_ide/src/completion.rs:5585
Function
call_prefix1
()
crates/ty_ide/src/completion.rs:5419
Method
call_subscript_method
( db: &'db dyn Db, program: Program<'db>, method: DunderMethod,
crates/ty_python_semantic/src/types/subscript.rs:96
Function
call_type_doesnt_rerun_when_only_callee_changed
()
crates/ty_python_semantic/src/types/infer/tests.rs:2190
Function
call_unwrapping_preserves_context
()
crates/ruff_python_edits/src/call.rs:121
Method
callable_mut
(&mut self)
crates/ty_python_semantic/src/types/call/bind/constructor.rs:85
Function
callable_shrinks_parameters_and_return_type
(shrink: CallableShrink)
crates/ty_python_semantic/src/types/property_tests/type_generation.rs:820
Method
callables
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, )
crates/ty_python_semantic/src/types/known_instance.rs:166
Method
callback
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:983
Method
called_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:87
Method
called_lru_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:103
Function
caller_fixed_upper_bound_failures_preserve_evidence_and_order
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:332
Method
callsite_enabled
(&self, meta: &'static Metadata<'static>)
crates/ty_server/src/logging.rs:121
Function
camelcase_imported_as_incorrect_convention
()
crates/ruff_linter/src/rules/pep8_naming/mod.rs:93
Function
can_access_inside
(t: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:29
Function
can_access_inside_nested
(t: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:108
← previous
next →
16,501–16,600 of 31,562, ranked by callers