MCPcopy Create free account

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

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

Functionparse_empty_codes
()
crates/ruff_linter/src/suppression.rs:2706
Functionparse_err
(glob: &str)
crates/ty_project/src/glob/portable.rs:303
Functionparse_error_extends
()
crates/ruff/tests/cli/lint.rs:804
Functionparse_error_not_included
()
crates/ruff/tests/integration_test.rs:914
Methodparse_escaped_unicode_string
(text: &str)
crates/ruff_python_literal/src/format.rs:695
Functionparse_fstring_error
(source: &str)
crates/ruff_python_parser/src/string.rs:625
Functionparse_fstring_nested_spec_grows_stack
()
crates/ruff_python_parser/src/string.rs:586
Methodparse_header
(line: ParsedLine<'_>)
crates/ty_ide/src/docstring/document/google.rs:291
Functionparse_invalid_action
()
crates/ruff_linter/src/suppression.rs:2676
Methodparse_list_member
Parses either a valid field header or a malformed header for a supported field.
crates/ty_ide/src/docstring/document/rst.rs:398
Methodparse_literal
(text: &str, is_raw: bool)
crates/ruff_python_literal/src/format.rs:591
Methodparse_literal_single
(text: &str)
crates/ruff_python_literal/src/format.rs:574
Methodparse_malformed_supported_field
Recognizes malformed syntax for a supported field so it remains part of the surrounding field list and prevents partial structured rendering.
crates/ty_ide/src/docstring/document/rst.rs:462
Methodparse_metadata_output
Parses and validates the output returned by [`Self::execute`].
crates/ty_project/src/uv/command.rs:136
Functionparse_missing_bracket
()
crates/ruff_linter/src/suppression.rs:2721
Functionparse_missing_codes
()
crates/ruff_linter/src/suppression.rs:2691
Functionparse_missing_comma
()
crates/ruff_linter/src/suppression.rs:2736
Methodparse_named_item
(line: ParsedLine<'a>, following_lines: &[ParsedLine<'_>])
crates/ty_ide/src/docstring/document/numpy.rs:616
Methodparse_no_redirect
Parse [`RuleSelector`] from a string; but do not follow redirects.
crates/ruff_linter/src/rule_selector.rs:437
Methodparse_parameter_argument
Parses a parameter name and an optional parameter type from a raw field argument. Returns None if we fail to parse the argument.
crates/ty_ide/src/docstring/document/rst.rs:580
Methodparse_parameter_name
Normalizes a parameter name into display and lookup identifiers.
crates/ty_ide/src/docstring/document/rst.rs:619
Methodparse_part
( chars: &mut impl PeekingNext<Item = char>, )
crates/ruff_python_literal/src/format.rs:481
Methodparse_part_in_brackets
(text: &str)
crates/ruff_python_literal/src/format.rs:626
Methodparse_raise_item
(line: ParsedLine<'a>)
crates/ty_ide/src/docstring/document/numpy.rs:681
Methodparse_ref
( &self, cmd: &clap::Command, arg: Option<&clap::Arg>, value: &std::ffi::OsStr
crates/ruff/src/args.rs:989
Methodparse_ref
( &self, cmd: &clap::Command, arg: Option<&clap::Arg>, value: &std::ffi::OsStr
crates/ruff/src/commands/completions/config.rs:113
Methodparse_ref
( &self, _cmd: &clap::Command, _arg: Option<&clap::Arg>, value
crates/ruff_linter/src/rule_selector.rs:510
Methodparse_ref
( &self, cmd: &clap::Command, arg: Option<&clap::Arg>, value:
crates/ruff_linter/src/registry.rs:475
Methodparse_return_item
(line: ParsedLine<'a>, following_lines: &[ParsedLine<'_>])
crates/ty_ide/src/docstring/document/numpy.rs:644
Functionparse_seed_argument
Helper for argument parsing
python/py-fuzzer/fuzz.py:793
Methodparse_spec
( text: &str, allow_nesting: AllowPlaceholderNesting, )
crates/ruff_python_literal/src/format.rs:660
Methodparse_supported
Categorizes a supported field, returning `None` only for an unknown field name.
crates/ty_ide/src/docstring/document/rst.rs:533
Functionparse_tstring_error
(source: &str)
crates/ruff_python_parser/src/string.rs:742
Functionparse_tstring_nested_spec_grows_stack
()
crates/ruff_python_parser/src/string.rs:703
Methodparse_type_param
Parses a type parameter. See: <https://docs.python.org/3/reference/compound_stmts.html#grammar-token-python-grammar-type_param>
crates/ruff_python_parser/src/parser/statement.rs:3665
Functionparse_unchecked_source
Parse the given Python source code using the specified [`PySourceType`].
crates/ruff_python_parser/src/lib.rs:294
Methodparse_unicode_literal
(&mut self)
crates/ruff_python_parser/src/string.rs:156
Functionparse_unrelated_comment
()
crates/ruff_linter/src/suppression.rs:2661
Functionparser_no_panic
()
crates/ty_python_semantic/tests/corpus.rs:35
Functionparser_preserves_supported_and_unknown_fields
()
crates/ty_ide/src/docstring/document/rst.rs:832
Functionparser_quick_test
()
crates/ruff_python_parser/tests/fixtures.rs:307
Functionparser_records_field_list_ranges
()
crates/ty_ide/src/docstring/document/rst.rs:904
Functionparser_recovers_after_dedented_doctest
()
crates/ty_ide/src/docstring/document/rst.rs:1115
Functionparser_recovers_from_partial_and_malformed_fields
()
crates/ty_ide/src/docstring/document/rst.rs:960
Functionparser_supports_complex_inline_parameter_types
()
crates/ty_ide/src/docstring/document/rst.rs:772
Functionparser_treats_indented_field_like_text_as_continuation
()
crates/ty_ide/src/docstring/document/rst.rs:1003
Functionparses_attributes_without_descriptions
()
crates/ty_ide/src/docstring/document/numpy.rs:1282
Functionparses_named_and_anonymous_return_items
()
crates/ty_ide/src/docstring/document/numpy.rs:1312
Functionparses_parenthesized_type_with_quoted_parenthesis
()
crates/ty_ide/src/docstring/document/google.rs:1043
Functionparsing_pyvenv_cfg_with_key_but_no_value_fails
()
crates/ty_site_packages/src/lib.rs:3084
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:1845
Methodpartial_cmp
(&self, other: &Self)
crates/ruff_db/src/diagnostic/mod.rs:572
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:3424
Methodpartial_cmp
(&self, other: &Self)
crates/ty_python_semantic/src/types/literal.rs:364
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:181
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:535
Functionpartial_string_annotations_with_future_annotations
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4540
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:4323
Functionpartially_quoted_type_assignment
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4337
Functionpass
()
crates/ruff_linter/src/rules/pylint/helpers.rs:422
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:3163
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:303
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
← previousnext →26,601–26,700 of 31,766, ranked by callers