MCPcopy Create free account

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

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

Functionparsing_pyvenv_cfg_with_no_home_key_fails
()
crates/ty_site_packages/src/lib.rs:3124
Functionparsing_pyvenv_cfg_with_value_but_no_key_fails
()
crates/ty_site_packages/src/lib.rs:3104
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_source_file/src/lib.rs:183
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_diagnostics/src/edit.rs:108
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_python_formatter/src/string/docstring.rs:1848
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_db/src/diagnostic/mod.rs:601
Methodpartial_cmp
(&self, other: &Self)
crates/ruff/src/args.rs:1274
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_ranged_value/src/lib.rs:320
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_python_ast/src/node_index.rs:201
Methodpartial_cmp
(&self, rhs: &CompletionRanker<'_>)
crates/ty_ide/src/completion.rs:3415
Methodpartial_cmp
(&self, other: &Self)
crates/ty_python_semantic/src/types/literal.rs:349
Methodpartial_cmp
(&self, rhs: &Member<'db>)
crates/ty_python_semantic/src/types/list_members.rs:870
Methodpartial_cmp
(&self, other: &Self)
crates/ty_python_semantic/src/types/constraints/paths.rs:173
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_linter/src/line_width.rs:170
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_linter/src/rule_selector.rs:186
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_linter/src/rules/isort/sorting.rs:51
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_linter/src/rules/ruff/rules/sequence_sorting.rs:71
Functionpartial_config
()
crates/ruff_wasm/tests/api.rs:288
Functionpartial_nested_config
()
crates/ruff_wasm/tests/api.rs:295
Functionpartial_resolves_dependencies_in_its_wrapped_callable
()
crates/ty_python_semantic/src/types/constraints/resolution.rs:536
Functionpartial_string_annotations_with_future_annotations
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4447
Methodpartially_apply
Returns the reduced overloaded signature exposed by a `functools.partial(...)` object.
crates/ty_python_semantic/src/types/signatures.rs:260
Methodpartially_apply
Returns the reduced callable produced by partially applying selected overloads.
crates/ty_python_semantic/src/types/callable.rs:927
Functionpartially_overlapping_sections_fall_back_to_general_rendering
()
crates/ty_ide/src/docstring/markdown/structured.rs:1015
Functionpartially_preserved1
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:407
Functionpartially_quoted_type_annotation
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4230
Functionpartially_quoted_type_assignment
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4244
Functionpass
()
crates/ruff_linter/src/rules/pylint/helpers.rs:419
Functionpass_1a
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:5
Functionpass_1b
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:9
Functionpass_2
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:14
Functionpass_3
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:19
Methodpass_4
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:25
Functionpass_5
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:30
Functionpass_6
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:34
Functionpass_7
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:107
Functionpass_nested_continue_before_dead_break
(outer, inner)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:308
Functionpass_statement_reachable
()
crates/ruff_linter/resources/test/fixtures/pylint/unreachable.py:3
Methodpass_stmt
(self)
crates/ruff_python_ast/src/generated.rs:1152
Functionpass_try_finally_return
(items)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:279
Functionpat_tuple_field_count_cross
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2987
Methodpatch
( db: &'db dyn Db, items: TypedDictSchema<'db>, openness: TypedDictOpenness<'db>,
crates/ty_python_semantic/src/types/typed_dict.rs:3149
Functionpatch_with_other_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:266
Functionpatch_with_other_path_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:328
Functionpatch_with_other_path_incrementing_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:395
Functionpatch_with_primary_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:66
Functionpatch_with_primary_path_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:128
Functionpatch_with_primary_path_incrementing_cell
()
crates/ruff_annotate_snippets/tests/ruff.rs:195
Methodpatches
Suggest to the user edits to the [`source`][Self::source]
crates/ruff_annotate_snippets/src/snippet.rs:339
Methodpath
Return the source file path for this test case.
scripts/conformance.py:321
Methodpath
(self)
scripts/ty_benchmark/src/benchmark/venv.py:32
Methodpath
Returns the path to the configuration file.
crates/ty_project/src/metadata/configuration_file.rs:72
Methodpath
Return the path of the file in which the error occurred.
crates/ruff_linter/src/logging.rs:227
Methodpath
Return the [`Path`] of the package root.
crates/ruff_linter/src/package.rs:34
Functionpath_as_optional_parameter_type
(path: Optional[Path])
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:101
Functionpath_as_simple_parameter_type
(path: Path)
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:95
Functionpath_as_union_parameter_type
(path: Path | None)
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:98
Functionpath_assignments_follow_constraint_source_order
()
crates/ty_python_semantic/src/types/constraints/paths.rs:1302
Functionpath_colon_on_next_line
()
crates/mdtest/src/parser.rs:2177
Methodpath_exists
Returns `true` if `path` exists.
crates/ruff_db/src/system.rs:149
Functionpath_limit_is_checked_before_solving
()
crates/ty_python_semantic/src/types/constraints/projection/tests.rs:127
Methodpath_metadata
(&self, path: &SystemPath)
crates/ruff_db/src/system/test.rs:112
Methodpath_metadata
(&self, path: &SystemPath)
crates/ty_wasm/src/lib.rs:1625
Functionpath_normalization
()
crates/ruff_db/src/system/memory_fs.rs:791
Functionpath_okay
(value=Path("."))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:233
Functionpath_open_in_foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:58
Functionpath_to_module
( db: &'db dyn Db, resolver_environment: ResolverEnvironment<'db>, path: &FilePath, )
crates/ty_module_resolver/src/resolve.rs:323
Functionpath_with_backtick
()
crates/mdtest/src/parser.rs:2149
Functionpath_with_line_break
()
crates/mdtest/src/parser.rs:2120
Functionpath_with_space
()
crates/mdtest/src/parser.rs:2095
Functionpathlib_path_in_foo
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC240.py:20
Functionpathlib_with_suffix_py314
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_use_pathlib/mod.rs:164
Functionpaths
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pandas_vet/mod.rs:382
Functionpaths_in_configuration_files_are_relative_to_the_project_root
()
crates/ty/tests/cli/main.rs:317
Functionpattern
(pattern: &str)
crates/ruff_linter/src/rules/isort/mod.rs:431
Methodpattern
(&self, module: &'ast ParsedModuleRef)
crates/ty_python_core/src/definition.rs:1266
Methodpattern_can_raise
Returns whether matching a pattern can invoke Python user code.
crates/ty_python_core/src/builder.rs:2697
Methodpattern_has_bindings
Return whether a pattern contains any capture that changes the current flow state.
crates/ty_python_core/src/builder.rs:2663
Functionpattern_is_wildcard
()
crates/ruff_python_ast_integration_tests/tests/match_pattern.rs:4
Functionpattern_match_as_references
()
crates/ty_ide/src/find_references.rs:506
Functionpattern_match_mapping_rest_references
()
crates/ty_ide/src/find_references.rs:532
Functionpattern_matching
()
crates/ty_ide/src/semantic_tokens.rs:4643
Functionpattern_usefulness_empty_match
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1998
Functionpd002_fix_at_notebook_cell_start
()
crates/ruff_linter/src/rules/pandas_vet/mod.rs:393
Methodpeek2
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
Methodpending_narrowing
()
crates/ty_python_semantic/src/types.rs:2462
Functionpending_narrowing_cycle_recovery_checks_alias_arguments
()
crates/ty_python_semantic/src/types/tests.rs:820
Functionpending_narrowing_cycle_recovery_preserves_guarded_contributions
()
crates/ty_python_semantic/src/types/tests.rs:760
Functionpending_narrowing_intersections_are_order_independent
()
crates/ty_python_semantic/src/types/tests.rs:676
Methodpeople
(self)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/runtime_evaluated_decorators_4.py:19
Functionpep257_normalization_ends_section_at_dedented_header
()
crates/ty_ide/src/docstring/document/google.rs:1194
Functionpep257_normalization_preserves_nested_section
()
crates/ty_ide/src/docstring/document/google.rs:1181
Functionpep257_normalization_recognizes_shifted_sibling_section
()
crates/ty_ide/src/docstring/document/google.rs:1168
Functionpep695_generic_rename
()
crates/ruff/tests/cli/lint.rs:3874
Functionpep695_type_params
()
crates/ty_python_semantic/src/types/infer/tests.rs:422
Functionpep_696_bad
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E25.py:64
Functionpep_696_bad
( x:A = "foo"[::-1], y:B = [[["foo", "bar"]]], z:object = "fooo", )
crates/ruff_linter/resources/test/fixtures/pycodestyle/E23.py:109
Methodpep_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
Functionpep_696_good
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E25.py:72
Functionpep_696_good
( x: A = "foo"[::-1], y: B = [[["foo", "bar"]]], z: object = "fooo", )
crates/ruff_linter/resources/test/fixtures/pycodestyle/E23.py:130
← previousnext →26,501–26,600 of 31,562, ranked by callers