Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,766 in github.com/astral-sh/ruff
⨍
Functions
31,766
◇
Types & classes
7,128
↳
Endpoints
82
Function
parse_empty_codes
()
crates/ruff_linter/src/suppression.rs:2706
Function
parse_err
(glob: &str)
crates/ty_project/src/glob/portable.rs:303
Function
parse_error_extends
()
crates/ruff/tests/cli/lint.rs:804
Function
parse_error_not_included
()
crates/ruff/tests/integration_test.rs:914
Method
parse_escaped_unicode_string
(text: &str)
crates/ruff_python_literal/src/format.rs:695
Function
parse_fstring_error
(source: &str)
crates/ruff_python_parser/src/string.rs:625
Function
parse_fstring_nested_spec_grows_stack
()
crates/ruff_python_parser/src/string.rs:586
Method
parse_header
(line: ParsedLine<'_>)
crates/ty_ide/src/docstring/document/google.rs:291
Function
parse_invalid_action
()
crates/ruff_linter/src/suppression.rs:2676
Method
parse_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
Method
parse_literal
(text: &str, is_raw: bool)
crates/ruff_python_literal/src/format.rs:591
Method
parse_literal_single
(text: &str)
crates/ruff_python_literal/src/format.rs:574
Method
parse_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
Method
parse_metadata_output
Parses and validates the output returned by [`Self::execute`].
crates/ty_project/src/uv/command.rs:136
Function
parse_missing_bracket
()
crates/ruff_linter/src/suppression.rs:2721
Function
parse_missing_codes
()
crates/ruff_linter/src/suppression.rs:2691
Function
parse_missing_comma
()
crates/ruff_linter/src/suppression.rs:2736
Method
parse_named_item
(line: ParsedLine<'a>, following_lines: &[ParsedLine<'_>])
crates/ty_ide/src/docstring/document/numpy.rs:616
Method
parse_no_redirect
Parse [`RuleSelector`] from a string; but do not follow redirects.
crates/ruff_linter/src/rule_selector.rs:437
Method
parse_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
Method
parse_parameter_name
Normalizes a parameter name into display and lookup identifiers.
crates/ty_ide/src/docstring/document/rst.rs:619
Method
parse_part
( chars: &mut impl PeekingNext<Item = char>, )
crates/ruff_python_literal/src/format.rs:481
Method
parse_part_in_brackets
(text: &str)
crates/ruff_python_literal/src/format.rs:626
Method
parse_raise_item
(line: ParsedLine<'a>)
crates/ty_ide/src/docstring/document/numpy.rs:681
Method
parse_ref
( &self, cmd: &clap::Command, arg: Option<&clap::Arg>, value: &std::ffi::OsStr
crates/ruff/src/args.rs:989
Method
parse_ref
( &self, cmd: &clap::Command, arg: Option<&clap::Arg>, value: &std::ffi::OsStr
crates/ruff/src/commands/completions/config.rs:113
Method
parse_ref
( &self, _cmd: &clap::Command, _arg: Option<&clap::Arg>, value
crates/ruff_linter/src/rule_selector.rs:510
Method
parse_ref
( &self, cmd: &clap::Command, arg: Option<&clap::Arg>, value:
crates/ruff_linter/src/registry.rs:475
Method
parse_return_item
(line: ParsedLine<'a>, following_lines: &[ParsedLine<'_>])
crates/ty_ide/src/docstring/document/numpy.rs:644
Function
parse_seed_argument
Helper for argument parsing
python/py-fuzzer/fuzz.py:793
Method
parse_spec
( text: &str, allow_nesting: AllowPlaceholderNesting, )
crates/ruff_python_literal/src/format.rs:660
Method
parse_supported
Categorizes a supported field, returning `None` only for an unknown field name.
crates/ty_ide/src/docstring/document/rst.rs:533
Function
parse_tstring_error
(source: &str)
crates/ruff_python_parser/src/string.rs:742
Function
parse_tstring_nested_spec_grows_stack
()
crates/ruff_python_parser/src/string.rs:703
Method
parse_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
Function
parse_unchecked_source
Parse the given Python source code using the specified [`PySourceType`].
crates/ruff_python_parser/src/lib.rs:294
Method
parse_unicode_literal
(&mut self)
crates/ruff_python_parser/src/string.rs:156
Function
parse_unrelated_comment
()
crates/ruff_linter/src/suppression.rs:2661
Function
parser_no_panic
()
crates/ty_python_semantic/tests/corpus.rs:35
Function
parser_preserves_supported_and_unknown_fields
()
crates/ty_ide/src/docstring/document/rst.rs:832
Function
parser_quick_test
()
crates/ruff_python_parser/tests/fixtures.rs:307
Function
parser_records_field_list_ranges
()
crates/ty_ide/src/docstring/document/rst.rs:904
Function
parser_recovers_after_dedented_doctest
()
crates/ty_ide/src/docstring/document/rst.rs:1115
Function
parser_recovers_from_partial_and_malformed_fields
()
crates/ty_ide/src/docstring/document/rst.rs:960
Function
parser_supports_complex_inline_parameter_types
()
crates/ty_ide/src/docstring/document/rst.rs:772
Function
parser_treats_indented_field_like_text_as_continuation
()
crates/ty_ide/src/docstring/document/rst.rs:1003
Function
parses_attributes_without_descriptions
()
crates/ty_ide/src/docstring/document/numpy.rs:1282
Function
parses_named_and_anonymous_return_items
()
crates/ty_ide/src/docstring/document/numpy.rs:1312
Function
parses_parenthesized_type_with_quoted_parenthesis
()
crates/ty_ide/src/docstring/document/google.rs:1043
Function
parsing_pyvenv_cfg_with_key_but_no_value_fails
()
crates/ty_site_packages/src/lib.rs:3084
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:1845
Method
partial_cmp
(&self, other: &Self)
crates/ruff_db/src/diagnostic/mod.rs:572
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:3424
Method
partial_cmp
(&self, other: &Self)
crates/ty_python_semantic/src/types/literal.rs:364
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:181
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:535
Function
partial_string_annotations_with_future_annotations
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4540
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:4323
Function
partially_quoted_type_assignment
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4337
Function
pass
()
crates/ruff_linter/src/rules/pylint/helpers.rs:422
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:3163
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:303
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
← previous
next →
26,601–26,700 of 31,766, ranked by callers