MCPcopy Create free account

hub / github.com/astral-sh/ruff / functions

Functions31,562 in github.com/astral-sh/ruff

Functionbuiltin_windows_error
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1145
Functionbuiltins
()
crates/ty_ide/src/completion.rs:3515
Functionbuiltins
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1140
Functionbuiltins_allowed_modules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_builtins/mod.rs:203
Functionbuiltins_custom
()
crates/ty_module_resolver/src/resolve.rs:2117
Functionbuiltins_custom
()
crates/ty_module_resolver/src/list.rs:161
Functionbuiltins_ignorelist
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_builtins/mod.rs:160
Functionbuiltins_not_included_import
()
crates/ty_ide/src/completion.rs:3625
Functionbuiltins_not_included_object_attr
()
crates/ty_ide/src/completion.rs:3613
Functionbuiltins_vendored
()
crates/ty_module_resolver/src/resolve.rs:2100
Functionbuiltins_vendored
()
crates/ty_module_resolver/src/list.rs:130
Functionbundled_ty_extensions_module_completion
()
crates/ty_ide/src/completion.rs:10070
Functionbundled_typeshed_module_completion
()
crates/ty_ide/src/completion.rs:10085
Functionbundled_typing_extensions_module_completion
()
crates/ty_ide/src/completion.rs:10057
Functionbuzz
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI010.py:9
Methodbuzz
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pie/PIE794.py:28
Functionbyte_string_in_docstring_position
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/join_implicit_concatenated_string.py:330
Functionbytes_across_part_boundaries
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:132
Functionbytes_in_docstring_position
()
crates/ruff_linter/resources/test/fixtures/flake8_implicit_str_concat/ISC003_docstring.py:50
Methodbytes_literal
Create a promotable bytes literal.
crates/ty_python_semantic/src/types.rs:3431
Methodbytes_literal_expr
(self)
crates/ruff_python_ast/src/generated.rs:2360
Functionbytes_literal_fields
(node: &ast::ExprBytesLiteral)
crates/ruff_python_ast/src/comparable.rs:1309
Functionbytes_literal_parts
( node: &ast::ExprBytesLiteral, )
crates/ruff_python_ast/src/comparable.rs:900
Functionbytes_literals
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:141
Functionbytes_literals
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:132
Functionbytes_literals
()
crates/ty_ide/src/semantic_tokens.rs:4396
Functionbytes_okay
(value=bytes(1))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:195
Functionbytes_to_mb
(total: usize)
crates/ty_project/src/db.rs:404
Functionc
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB187.py:14
Functionc
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:169
Functionc
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_0.py:49
Methodc
(cls)
crates/ruff_linter/resources/test/fixtures/pyflakes/future_annotations.py:26
Functionc2
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB187.py:20
Functioncache_adds_file_on_lint
()
crates/ruff/src/cache.rs:640
Functioncache_adds_files_on_format
()
crates/ruff/src/cache.rs:725
Functioncache_adds_files_on_lint
()
crates/ruff/src/cache.rs:664
Methodcache_dir
(&self)
crates/ty_server/src/system.rs:265
Methodcache_dir
(&self)
crates/ruff_db/src/system/test.rs:151
Methodcache_dir
(&self)
crates/ty_wasm/src/lib.rs:1686
Functioncache_does_not_add_file_on_lint_with_diagnostic
()
crates/ruff/src/cache.rs:691
Functioncache_file_permissions_match_default_file_permissions
()
crates/ruff/src/cache.rs:887
Functioncache_invalidated_on_file_modified_time
()
crates/ruff/src/cache.rs:753
Functioncache_invalidated_on_permission_change
()
crates/ruff/src/cache.rs:792
Functioncache_key
(input: TokenStream)
crates/ruff_macros/src/lib.rs:76
Functioncache_key
Returns a hash key based on the `package_root`, `settings` and the crate version.
crates/ruff/src/cache.rs:365
Methodcache_key
(&self, hasher: &mut ruff_cache::CacheKeyHasher)
crates/ruff_db/src/system/path.rs:767
Methodcache_key
(&self, state: &mut CacheKeyHasher)
crates/ruff_cache/src/filetime.rs:8
Methodcache_key
(&self, state: &mut CacheKeyHasher)
crates/ruff_linter/src/line_width.rs:63
Methodcache_key
(&self, state: &mut CacheKeyHasher)
crates/ruff_linter/src/rules/pylint/settings.rs:90
Methodcache_key
(&self, state: &mut CacheKeyHasher)
crates/ruff_linter/src/rules/pep8_naming/settings.rs:180
Methodcache_key_slice
(data: &[Self], state: &mut CacheKeyHasher)
crates/ruff_cache/src/cache_key.rs:77
Functioncache_removes_stale_files_on_persist
()
crates/ruff/src/cache.rs:848
Functioncache_syntax_errors
()
crates/ruff/tests/cli/lint.rs:4285
Methodcached_classmethod
(cls, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:31
Methodcached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:79
Methodcached_prop
(self, value)
crates/ruff_linter/resources/test/fixtures/pylint/property_with_parameters.py:48
Methodcached_staticmethod
(y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:51
Functioncaches_results_and_spills_after_two_entries
()
crates/ty_python_semantic/src/types/cyclic.rs:1649
Functioncalculate_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
Functioncalculate_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
Functioncalculate_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
Functioncalculate_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
Functioncalculate_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
Functioncalculate_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
Functioncall
PLE1300 Ex) `"{:z}".format("1")`
crates/ruff_linter/src/rules/pylint/rules/bad_string_format_character.rs:42
Functioncall_argument_forms_preserve_known_type_form_parameters
()
crates/ty_python_semantic/src/types/ide_support.rs:2445
Methodcall_argument_name
( position: TextSize, name: &str, navigation_target: Option<NavigationTarget>, )
crates/ty_ide/src/inlay_hints.rs:206
Functioncall_arguments
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:63
Functioncall_arguments_cursor_middle
()
crates/ty_ide/src/completion.rs:5548
Functioncall_arguments_multi_def
()
crates/ty_ide/src/completion.rs:5530
Functioncall_attribute_argument_no_arg_completions
()
crates/ty_ide/src/completion.rs:5669
Functioncall_bare_paramspec_has_no_keyword_argument_completions
()
crates/ty_ide/src/completion.rs:5611
Functioncall_blank1
()
crates/ty_ide/src/completion.rs:5650
Functioncall_fields
(node: &ast::ExprCall)
crates/ruff_python_ast/src/comparable.rs:1267
Functioncall_form_multiline
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:93
Methodcall_form_raises
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_1.py:19
Functioncall_form_with_kwarg
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:86
Functioncall_keyword_argument_at_value
()
crates/ty_ide/src/completion.rs:11449
Functioncall_keyword_only_argument
()
crates/ty_ide/src/completion.rs:5440
Functioncall_keyword_only_argument_between_variadic_parameters
()
crates/ty_ide/src/completion.rs:5462
Functioncall_keyword_only_argument_between_variadic_parameters_after_positional_argument
()
crates/ty_ide/src/completion.rs:5478
Functioncall_multiple_keyword_arguments
()
crates/ty_ide/src/completion.rs:5494
Functioncall_multiple_keyword_arguments_some_set
()
crates/ty_ide/src/completion.rs:5514
Functioncall_positional_only_argument
()
crates/ty_ide/src/completion.rs:5564
Functioncall_positional_only_keyword_only_argument_mix
()
crates/ty_ide/src/completion.rs:5585
Functioncall_prefix1
()
crates/ty_ide/src/completion.rs:5419
Methodcall_subscript_method
( db: &'db dyn Db, program: Program<'db>, method: DunderMethod,
crates/ty_python_semantic/src/types/subscript.rs:96
Functioncall_type_doesnt_rerun_when_only_callee_changed
()
crates/ty_python_semantic/src/types/infer/tests.rs:2190
Functioncall_unwrapping_preserves_context
()
crates/ruff_python_edits/src/call.rs:121
Methodcallable_mut
(&mut self)
crates/ty_python_semantic/src/types/call/bind/constructor.rs:85
Functioncallable_shrinks_parameters_and_return_type
(shrink: CallableShrink)
crates/ty_python_semantic/src/types/property_tests/type_generation.rs:820
Methodcallables
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, )
crates/ty_python_semantic/src/types/known_instance.rs:166
Methodcallback
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:983
Methodcalled_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:87
Methodcalled_lru_cached_instance_method
(self, y)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B019.py:103
Functioncaller_fixed_upper_bound_failures_preserve_evidence_and_order
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:332
Methodcallsite_enabled
(&self, meta: &'static Metadata<'static>)
crates/ty_server/src/logging.rs:121
Functioncamelcase_imported_as_incorrect_convention
()
crates/ruff_linter/src/rules/pep8_naming/mod.rs:93
Functioncan_access_inside
(t: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:29
Functioncan_access_inside_nested
(t: T)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_17.py:108
← previousnext →16,501–16,600 of 31,562, ranked by callers