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
parsing_pyvenv_cfg_with_no_home_key_fails
()
crates/ty_site_packages/src/lib.rs:3124
Function
parsing_pyvenv_cfg_with_value_but_no_key_fails
()
crates/ty_site_packages/src/lib.rs:3104
Method
partial_cmp
(&self, other: &Self)
crates/ruff_source_file/src/lib.rs:183
Method
partial_cmp
(&self, other: &Self)
crates/ruff_diagnostics/src/edit.rs:108
Method
partial_cmp
(&self, other: &Self)
crates/ruff_python_formatter/src/string/docstring.rs:1848
Method
partial_cmp
(&self, other: &Self)
crates/ruff_db/src/diagnostic/mod.rs:601
Method
partial_cmp
(&self, other: &Self)
crates/ruff/src/args.rs:1274
Method
partial_cmp
(&self, other: &Self)
crates/ruff_ranged_value/src/lib.rs:320
Method
partial_cmp
(&self, other: &Self)
crates/ruff_python_ast/src/node_index.rs:201
Method
partial_cmp
(&self, rhs: &CompletionRanker<'_>)
crates/ty_ide/src/completion.rs:3415
Method
partial_cmp
(&self, other: &Self)
crates/ty_python_semantic/src/types/literal.rs:349
Method
partial_cmp
(&self, rhs: &Member<'db>)
crates/ty_python_semantic/src/types/list_members.rs:870
Method
partial_cmp
(&self, other: &Self)
crates/ty_python_semantic/src/types/constraints/paths.rs:173
Method
partial_cmp
(&self, other: &Self)
crates/ruff_linter/src/line_width.rs:170
Method
partial_cmp
(&self, other: &Self)
crates/ruff_linter/src/rule_selector.rs:186
Method
partial_cmp
(&self, other: &Self)
crates/ruff_linter/src/rules/isort/sorting.rs:51
Method
partial_cmp
(&self, other: &Self)
crates/ruff_linter/src/rules/ruff/rules/sequence_sorting.rs:71
Function
partial_config
()
crates/ruff_wasm/tests/api.rs:288
Function
partial_nested_config
()
crates/ruff_wasm/tests/api.rs:295
Function
partial_resolves_dependencies_in_its_wrapped_callable
()
crates/ty_python_semantic/src/types/constraints/resolution.rs:536
Function
partial_string_annotations_with_future_annotations
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4447
Method
partially_apply
Returns the reduced overloaded signature exposed by a `functools.partial(...)` object.
crates/ty_python_semantic/src/types/signatures.rs:260
Method
partially_apply
Returns the reduced callable produced by partially applying selected overloads.
crates/ty_python_semantic/src/types/callable.rs:927
Function
partially_overlapping_sections_fall_back_to_general_rendering
()
crates/ty_ide/src/docstring/markdown/structured.rs:1015
Function
partially_preserved1
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:407
Function
partially_quoted_type_annotation
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4230
Function
partially_quoted_type_assignment
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4244
Function
pass
()
crates/ruff_linter/src/rules/pylint/helpers.rs:419
Function
pass_1a
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:5
Function
pass_1b
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:9
Function
pass_2
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:14
Function
pass_3
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:19
Method
pass_4
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:25
Function
pass_5
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:30
Function
pass_6
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:34
Function
pass_7
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:107
Function
pass_nested_continue_before_dead_break
(outer, inner)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:308
Function
pass_statement_reachable
()
crates/ruff_linter/resources/test/fixtures/pylint/unreachable.py:3
Method
pass_stmt
(self)
crates/ruff_python_ast/src/generated.rs:1152
Function
pass_try_finally_return
(items)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:279
Function
pat_tuple_field_count_cross
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2987
Method
patch
( db: &'db dyn Db, items: TypedDictSchema<'db>, openness: TypedDictOpenness<'db>,
crates/ty_python_semantic/src/types/typed_dict.rs:3149
Function
patch_with_other_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:266
Function
patch_with_other_path_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:328
Function
patch_with_other_path_incrementing_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:395
Function
patch_with_primary_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:66
Function
patch_with_primary_path_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:128
Function
patch_with_primary_path_incrementing_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:195
Method
patches
Suggest to the user edits to the [`source`][Self::source]
crates/ruff_annotate_snippets/src/snippet.rs:339
Method
path
Return the source file path for this test case.
scripts/conformance.py:321
Method
path
(self)
scripts/ty_benchmark/src/benchmark/venv.py:32
Method
path
Returns the path to the configuration file.
crates/ty_project/src/metadata/configuration_file.rs:72
Method
path
Return the path of the file in which the error occurred.
crates/ruff_linter/src/logging.rs:227
Method
path
Return the [`Path`] of the package root.
crates/ruff_linter/src/package.rs:34
Function
path_as_optional_parameter_type
(path: Optional[Path])
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:101
Function
path_as_simple_parameter_type
(path: Path)
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:95
Function
path_as_union_parameter_type
(path: Path | None)
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:98
Function
path_assignments_follow_constraint_source_order
()
crates/ty_python_semantic/src/types/constraints/paths.rs:1302
Function
path_colon_on_next_line
()
crates/mdtest/src/parser.rs:2177
Method
path_exists
Returns `true` if `path` exists.
crates/ruff_db/src/system.rs:149
Function
path_limit_is_checked_before_solving
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:127
Method
path_metadata
(&self, path: &SystemPath)
crates/ruff_db/src/system/test.rs:112
Method
path_metadata
(&self, path: &SystemPath)
crates/ty_wasm/src/lib.rs:1625
Function
path_normalization
()
crates/ruff_db/src/system/memory_fs.rs:791
Function
path_okay
(value=Path("."))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:233
Function
path_open_in_foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:58
Function
path_to_module
( db: &'db dyn Db, resolver_environment: ResolverEnvironment<'db>, path: &FilePath, )
crates/ty_module_resolver/src/resolve.rs:323
Function
path_with_backtick
()
crates/mdtest/src/parser.rs:2149
Function
path_with_line_break
()
crates/mdtest/src/parser.rs:2120
Function
path_with_space
()
crates/mdtest/src/parser.rs:2095
Function
pathlib_path_in_foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:20
Function
pathlib_with_suffix_py314
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_use_pathlib/mod.rs:164
Function
paths
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pandas_vet/mod.rs:382
Function
paths_in_configuration_files_are_relative_to_the_project_root
()
crates/ty/tests/cli/main.rs:317
Function
pattern
(pattern: &str)
crates/ruff_linter/src/rules/isort/mod.rs:431
Method
pattern
(&self, module: &'ast ParsedModuleRef)
crates/ty_python_core/src/definition.rs:1266
Method
pattern_can_raise
Returns whether matching a pattern can invoke Python user code.
crates/ty_python_core/src/builder.rs:2697
Method
pattern_has_bindings
Return whether a pattern contains any capture that changes the current flow state.
crates/ty_python_core/src/builder.rs:2663
Function
pattern_is_wildcard
()
crates/ruff_python_ast_integration_tests/tests/match_pattern.rs:4
Function
pattern_match_as_references
()
crates/ty_ide/src/find_references.rs:506
Function
pattern_match_mapping_rest_references
()
crates/ty_ide/src/find_references.rs:532
Function
pattern_matching
()
crates/ty_ide/src/semantic_tokens.rs:4643
Function
pattern_usefulness_empty_match
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1998
Function
pd002_fix_at_notebook_cell_start
()
crates/ruff_linter/src/rules/pandas_vet/mod.rs:393
Method
peek2
Returns the next two non-trivia tokens without consuming it. Use [`peek`] to only get the next token. [`peek`]: TokenSource::peek
crates/ruff_python_parser/src/token_source.rs:154
Method
pending_narrowing
()
crates/ty_python_semantic/src/types.rs:2462
Function
pending_narrowing_cycle_recovery_checks_alias_arguments
()
crates/ty_python_semantic/src/types/tests.rs:820
Function
pending_narrowing_cycle_recovery_preserves_guarded_contributions
()
crates/ty_python_semantic/src/types/tests.rs:760
Function
pending_narrowing_intersections_are_order_independent
()
crates/ty_python_semantic/src/types/tests.rs:676
Method
people
(self)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/runtime_evaluated_decorators_4.py:19
Function
pep257_normalization_ends_section_at_dedented_header
()
crates/ty_ide/src/docstring/document/google.rs:1194
Function
pep257_normalization_preserves_nested_section
()
crates/ty_ide/src/docstring/document/google.rs:1181
Function
pep257_normalization_recognizes_shifted_sibling_section
()
crates/ty_ide/src/docstring/document/google.rs:1168
Function
pep695_generic_rename
()
crates/ruff/tests/cli/lint.rs:3874
Function
pep695_type_params
()
crates/ty_python_semantic/src/types/infer/tests.rs:422
Function
pep_696_bad
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E25.py:64
Function
pep_696_bad
( x:A = "foo"[::-1], y:B = [[["foo", "bar"]]], z:object = "fooo", )
crates/ruff_linter/resources/test/fixtures/pycodestyle/E23.py:109
Method
pep_696_bad_method
( self, x:A = "foo"[::-1], y:B = [[["foo", "bar"]]], z:object = "fooo", )
crates/ruff_linter/resources/test/fixtures/pycodestyle/E23.py:117
Function
pep_696_good
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E25.py:72
Function
pep_696_good
( x: A = "foo"[::-1], y: B = [[["foo", "bar"]]], z: object = "fooo", )
crates/ruff_linter/resources/test/fixtures/pycodestyle/E23.py:130
← previous
next →
26,501–26,600 of 31,562, ranked by callers