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
Method
eq
(&self, other: &&str)
crates/ruff_source_file/src/newlines.rs:286
Method
eq
(&self, other: &str)
crates/ty_module_resolver/src/module_name.rs:453
Method
eq
(&self, other: &Self)
crates/ty_module_resolver/src/module_glob.rs:116
Method
eq
(&self, other: &SystemPathBuf)
crates/ty_module_resolver/src/path.rs:225
Method
eq
(&self, other: &Interned)
crates/ruff_formatter/src/format_element.rs:164
Method
eq
(&self, other: &Self)
crates/ruff_formatter/src/format_element/tag.rs:367
Method
eq
(&self, other: &Self)
crates/ruff_python_formatter/src/string/docstring.rs:1854
Method
eq
(&self, other: &Self)
crates/ruff_python_formatter/src/comments/node_key.rs:34
Method
eq
(&self, other: &SystemPath)
crates/ruff_db/src/files/path.rs:149
Method
eq
(&self, other: &Self)
crates/ruff_db/src/diagnostic/mod.rs:607
Method
eq
(&self, other: &Self)
crates/ruff_db/src/system/path.rs:16
Method
eq
(&self, other: &Self)
crates/ruff/src/args.rs:1288
Method
eq
(&self, other: &Self)
crates/ruff_ranged_value/src/lib.rs:300
Method
eq
(&self, data: &&str)
crates/ruff_python_ast/src/name.rs:176
Method
eq
(&self, other: &Self)
crates/ruff_python_ast/src/comparable.rs:342
Method
eq
(&self, other: &str)
crates/ruff_python_ast/src/nodes.rs:1670
Method
eq
(&self, other: &Self)
crates/ruff_python_ast/src/node_index.rs:215
Method
eq
(&self, other: &Self)
crates/ty_python_core/src/symbol.rs:260
Method
eq
(&self, other: &Self)
crates/ruff_notebook/src/notebook.rs:492
Method
eq
(&self, rhs: &QueryPattern)
crates/ty_ide/src/symbols.rs:109
Method
eq
(&self, rhs: &CompletionRanker<'_>)
crates/ty_ide/src/completion.rs:3389
Method
eq
(&self, other: &Self)
crates/ty_python_semantic/src/lint.rs:340
Method
eq
(&self, other: &Self)
crates/ty_python_semantic/src/types/set_theoretic.rs:966
Method
eq
(&self, other: &Self)
crates/ty_python_semantic/src/types/relation_error.rs:927
Method
eq
(&self, rhs: &Member<'db>)
crates/ty_python_semantic/src/types/list_members.rs:858
Method
eq
(&self, other: &Self)
crates/ty_python_semantic/src/types/match_pattern.rs:50
Method
eq
(&self, other: &Self)
crates/ty_python_semantic/src/types/call/bind.rs:10267
Method
eq
(&self, other: &Self)
crates/ruff_linter/src/line_width.rs:162
Method
eq
(&self, other: &Self)
crates/ruff_linter/src/rules/ruff/rules/sequence_sorting.rs:77
Method
eq
(&self, other: &u32)
crates/ruff_linter/src/rules/pycodestyle/rules/blank_lines.rs:595
Method
eq
We will only ever be comparing slots within a class and with the slots of a super class. In that context, we want to compare names and not ranges.
crates/ruff_linter/src/rules/pylint/rules/redefined_slots_in_subclass.rs:91
Method
eq
(&self, other: &Self)
crates/ty_site_packages/src/lib.rs:78
Function
equality
()
crates/ruff_python_formatter/src/comments/node_key.rs:70
Function
equality_accounts_for_pattern_root
()
crates/ty_project/src/glob/exclude.rs:303
Function
equality_accounts_for_pattern_root
()
crates/ty_project/src/glob/include.rs:360
Function
equality_after_adding_cell_magic
()
crates/ruff_notebook/src/notebook.rs:554
Function
equality_ignores_cached_index
()
crates/ruff_notebook/src/notebook.rs:582
Function
equivalent_numbers_hash_equal
()
crates/ruff_python_ast_integration_tests/tests/comparable.rs:169
Function
equivalent_script_settings_share_programs
()
crates/ty_project/src/script.rs:479
Function
error
()
crates/mdtest/src/assertion.rs:594
Function
error
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT003.py:15
Method
error
Override the output style for [error][crate::Level::ERROR]
crates/ruff_annotate_snippets/src/renderer/mod.rs:210
Method
error
( context: &InferContext<'db, '_>, message: impl std::fmt::Display, node:
crates/ty_python_semantic/src/types/infer/builder.rs:3761
Method
error
( context: &InferContext<'db, '_>, message: impl std::fmt::Display, node:
crates/ty_python_semantic/src/types/infer/builder/typevar.rs:762
Function
error_aliased_member_import
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020_1.py:11
Function
error_aliased_module
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020_2.py:5
Function
error_arg
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT003.py:38
Function
error_diagnostics
()
crates/ruff/src/commands/format.rs:1285
Function
error_due_to_missing_import
(foo: ImmutableTypeA = [])
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_extended.py:17
Function
error_due_to_missing_import
(data: List[str] = Depends(None))
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B008_extended.py:24
Method
error_in_class
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:36
Function
error_match_all
()
crates/mdtest/src/matcher.rs:1022
Function
error_match_all_wrong_column
()
crates/mdtest/src/matcher.rs:1036
Function
error_match_all_wrong_message
()
crates/mdtest/src/matcher.rs:1082
Function
error_match_all_wrong_rule
()
crates/mdtest/src/matcher.rs:1059
Function
error_match_column_and_message
()
crates/mdtest/src/matcher.rs:994
Function
error_match_column_and_rule
()
crates/mdtest/src/matcher.rs:943
Function
error_match_column_and_rule_and_message
()
crates/mdtest/src/matcher.rs:957
Function
error_match_message
()
crates/mdtest/src/matcher.rs:906
Function
error_match_rule
()
crates/mdtest/src/matcher.rs:841
Function
error_match_rule_and_message
()
crates/mdtest/src/matcher.rs:1008
Function
error_match_rule_lots_of_whitespace
()
crates/mdtest/src/matcher.rs:869
Function
error_match_rule_no_whitespace
()
crates/mdtest/src/matcher.rs:855
Function
error_member_import
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020_1.py:6
Function
error_multiple_args
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT003.py:20
Function
error_on_warning_conflicts_with_exit_zero_on_warning
()
crates/ty/tests/cli/exit_code.rs:63
Function
error_partially_typed_1
(a: int, b)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:24
Function
error_partially_typed_2
(a: int, b)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:28
Function
error_partially_typed_3
(a: int, b: int)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:32
Function
error_second_arg
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT003.py:30
Method
error_typed_self
(self: X)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:43
Function
error_unmatched
()
crates/mdtest/src/matcher.rs:834
Function
error_with_arguments
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:25
Function
error_with_comment
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:30
Function
error_with_comment_in_reference
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:45
Function
error_with_message_and_column
()
crates/mdtest/src/assertion.rs:854
Function
error_with_parens
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:20
Function
error_with_rule
()
crates/mdtest/src/assertion.rs:784
Function
error_with_rule_and_column
()
crates/mdtest/src/assertion.rs:806
Function
error_with_rule_and_message
()
crates/mdtest/src/assertion.rs:828
Function
error_with_rule_and_message_and_column
()
crates/mdtest/src/assertion.rs:877
Function
error_without_parens
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT020.py:15
Function
error_wrong_column
()
crates/mdtest/src/matcher.rs:971
Function
error_wrong_message
()
crates/mdtest/src/matcher.rs:920
Function
error_wrong_rule
()
crates/mdtest/src/matcher.rs:883
Function
errors
()
crates/ruff_linter/resources/test/fixtures/pylint/compare_to_empty_string.py:6
Method
escape_preceding_prepends
Records offsets of characters that would attach to the following escape or closing quote.
crates/ruff_python_literal/src/escape.rs:340
Method
escaped_char_len
(ch: char)
crates/ruff_python_literal/src/escape.rs:215
Function
escaped_chars
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:60
Method
escaped_codepoint_len
Returns the length of a hexadecimal Python escape for the character.
crates/ruff_python_literal/src/escape.rs:229
Function
escaped_stars_google
r"""Do something. Args: x: the value \*args: variable arguments \*\*kwargs: keyword arguments
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:272
Function
escaped_stars_google_missing
r"""Do something. Args: \*\*kwargs: keyword arguments
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:282
Function
escaped_stars_non_raw
Do something. Args: x: the value \\*args: variable arguments \\*\\*kwargs: keyword arguments
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:290
Function
escaped_stars_numpy
r"""Do something. Parameters ---------- x : int The value. \*args : tuple Variable arguments. \*\*kwargs : dict
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:248
Function
escaped_stars_numpy_missing
r"""Do something. Parameters ---------- \*\*kwargs : dict Keyword arguments.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:262
Function
escaped_string
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF027_0.py:14
Function
escapes_quotes
()
crates/ruff_formatter/src/format_element/document.rs:855
Function
evaluate
( constraints: &NarrowingConstraintsBuilder, constraint: ScopedNarrowingConstraint, va
crates/ty_python_core/src/narrowing_constraints.rs:461
Function
even_longer
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/type_params.py:9
Method
evil_raises
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B017_0.py:22
← previous
next →
18,301–18,400 of 31,562, ranked by callers