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
not_deferred
()
crates/ty_python_semantic/src/types/signatures.rs:6936
Function
not_found_self_type_differs_shadowing_trait_item
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:4185
Method
not_good
(cls, __foo: int)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI063.py:30
Method
not_in_formatting_range
( self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/fmt_on_off.py:10
Method
not_iter
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI045.py:15
Method
not_iter
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI045.py:23
Method
not_iter
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI045.py:31
Method
not_iter
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI045.py:39
Function
not_literal_string
()
crates/ty_python_semantic/src/types/infer/tests.rs:283
Function
not_ok0
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:34
Function
not_ok1
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:42
Function
not_ok1_with_comments
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:52
Function
not_ok1_with_deep_indented_comments
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:114
Function
not_ok1_with_else_line_and_inner_comments
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:159
Function
not_ok1_with_else_line_comment
(a, b)
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:149
Function
not_ok1_with_mixed_indented_comments
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:136
Function
not_ok1_with_multiline_comments
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:102
Function
not_ok1_with_shallow_indented_comments
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:125
Function
not_ok2
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:64
Function
not_ok3
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:76
Function
not_ok4
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:84
Function
not_ok5
()
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:93
Function
not_one
(x)
crates/ruff_linter/resources/test/fixtures/refurb/FURB113.py:165
Function
not_repeatable
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:4077
Function
not_two
(x: C)
crates/ruff_linter/resources/test/fixtures/refurb/FURB113.py:170
Function
not_used_in_nested_scope
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2528
Function
not_warnings_dot_deprecated
( msg: str )
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:68
Function
notebook
()
crates/ty_server/tests/e2e/rename.rs:38
Function
notebook
()
crates/ruff_db/src/source.rs:310
Function
notebook_basic
()
crates/ruff/tests/analyze_graph.rs:963
Method
notebook_document_keys
(&self)
crates/ty_server/src/session/index.rs:62
Method
notebook_document_uris
Iterates over the LSP URIs for all open notebook documents. These URIs are valid file paths.
crates/ruff_server/src/session.rs:124
Method
notebook_index
(&self, file: &UnifiedFile)
crates/ruff_linter/src/message/mod.rs:147
Function
notebook_output
()
crates/ruff_db/src/diagnostic/render/concise.rs:201
Function
notebook_output
()
crates/ruff_db/src/diagnostic/render/json_lines.rs:54
Function
notebook_output
()
crates/ruff_db/src/diagnostic/render/full.rs:781
Function
notebook_output
()
crates/ruff_db/src/diagnostic/render/json.rs:272
Function
notebook_output_multiple_annotations
()
crates/ruff_db/src/diagnostic/render/full.rs:835
Function
notebook_output_with_diff
()
crates/ruff_db/src/diagnostic/render/full.rs:908
Function
notebook_output_with_diff_spanning_cells
()
crates/ruff_db/src/diagnostic/render/full.rs:917
Method
notebook_path
(&self)
crates/ty_server/src/session.rs:1990
Function
notebook_test
()
crates/mdtest/src/parser.rs:1259
Function
notebook_with_magic
()
crates/ruff/tests/analyze_graph.rs:1138
Function
notebook_without_ipynb_extension
()
crates/ruff_server/tests/e2e/notebook.rs:375
Function
notes_before_raises_unordered
Summary. Notes: Some notes. Raises: ValueError
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_google.py:113
Function
notes_before_warns
Summary. Notes ----- Some notes. Warns ----- UserWarning
crates/ruff_linter/resources/test/fixtures/pydocstyle/D420_numpy.py:110
Method
nothing
Creates a local task that does nothing.
crates/ty_server/src/server/schedule/task.rs:92
Method
nothing
Creates a local task that does nothing.
crates/ruff_server/src/server/schedule/task.rs:90
Function
notice
()
crates/ruff_linter/src/rules/flake8_copyright/mod.rs:13
Function
notice_with_c
()
crates/ruff_linter/src/rules/flake8_copyright/mod.rs:27
Function
notice_with_caps
()
crates/ruff_linter/src/rules/flake8_copyright/mod.rs:55
Function
notice_with_comma
()
crates/ruff_linter/src/rules/flake8_copyright/mod.rs:83
Function
notice_with_range
()
crates/ruff_linter/src/rules/flake8_copyright/mod.rs:69
Function
notice_with_unicode_c
()
crates/ruff_linter/src/rules/flake8_copyright/mod.rs:41
Method
number_literal_expr
(self)
crates/ruff_python_ast/src/generated.rs:2397
Function
number_literal_fields
(node: &ast::ExprNumberLiteral)
crates/ruff_python_ast/src/comparable.rs:1318
Function
number_values
()
crates/ruff_python_parser/src/parser/tests.rs:89
Function
numeric_tower_display
()
crates/ty_python_semantic/src/types/display.rs:4136
Function
numpy_section_order
(kind: SectionKind)
crates/ruff_linter/src/rules/pydocstyle/rules/sections.rs:2207
Function
o
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/return_type_parameters.py:157
Function
o
()
crates/ruff_python_parser/resources/inline/ok/valid_annotation_function_py313.py:8
Function
o
()
crates/ruff_python_parser/resources/inline/err/invalid_annotation_function_py314.py:8
Method
object
()
crates/ty_python_semantic/src/types/instance.rs:49
Method
object
Return a `ClassBase` representing the class `builtins.object`
crates/ty_python_semantic/src/types/class_base.rs:89
Function
object_attr_ignores_all
()
crates/ty_ide/src/completion.rs:10489
Function
object_fail
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2191
Function
obvious_typos_in_directives_are_detected
()
crates/mdtest/src/parser.rs:2365
Method
of
(label: T)
crates/ruff_formatter/src/format_element/tag.rs:386
Method
of
(name: &'static str)
crates/ruff_db/src/diagnostic/mod.rs:939
Method
of
(text: T)
crates/ruff_text_size/src/size.rs:66
Method
of
()
crates/ruff_options_metadata/src/lib.rs:103
Method
of
(definition: &'static LintMetadata)
crates/ty_python_semantic/src/lint.rs:334
Method
of
Resolves the instance read and descriptor write types of a class member.
crates/ty_python_semantic/src/types/variance.rs:41
Method
of
(db: &'db dyn Db, env: &ProgramEnvironment<'db>, ty: Type<'db>)
crates/ty_python_semantic/src/types/list_members.rs:168
Method
of
(value: &str)
crates/ruff_linter/src/rules/ruff/rules/sequence_sorting.rs:111
Method
of_class
Find methods that remain abstract after applying overrides in MRO order.
crates/ty_python_semantic/src/types/abstract_methods.rs:34
Method
of_dynamic_class
Attempt to resolve the MRO of a dynamic class (created via `type(name, bases, dict)`). Uses C3 linearization when possible, returning an error if the
crates/ty_python_semantic/src/types/mro.rs:360
Method
of_dynamic_enum
Compute the MRO of a dynamic enum (created via the functional `Enum()`/`StrEnum()` API). Uses C3 linearization to correctly handle the optional `type
crates/ty_python_semantic/src/types/mro.rs:450
Method
of_elements
(elements: &'a [ast::Expr], sorting_style: SortingStyle)
crates/ruff_linter/src/rules/ruff/rules/sequence_sorting.rs:265
Method
of_instance
Return the builtin comparison implementation inherited by an instance. Returns `None` when lookup finds custom comparison behavior.
crates/ty_python_semantic/src/types/equality.rs:1973
Method
of_literal
Return the builtin comparison implementation used by a literal value.
crates/ty_python_semantic/src/types/equality.rs:1952
Method
of_node
( db: &'db dyn Db, node: &NodeWithScopeKind, index: &SemanticIndex<'db>, )
crates/ty_python_semantic/src/types/generics.rs:393
Method
of_type
Determine the builtin comparison implementation inherited by `ty`. Returns `None` when dunder lookup finds custom or conflicting comparison behavior.
crates/ty_python_semantic/src/types/equality.rs:1875
Method
of_type_with_policy
Determine comparison semantics, optionally assuming that subclasses do not override the inherited comparison method.
crates/ty_python_semantic/src/types/equality.rs:1892
Function
off_and_on_without_data
Test that comment-only fmt:off/on blocks preserve formatting.
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff.py:93
Function
ok
(first, default="default")
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S107.py:1
Function
ok
()
crates/ruff_linter/resources/test/fixtures/pylint/compare_to_empty_string.py:17
Function
ok
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP033_0.py:22
Function
ok
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP011.py:28
Function
ok
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP033_1.py:22
Method
ok
(this)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_custom_decorators.py:10
Function
ok0
Should not trigger on elif
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:6
Function
ok1
If the orelse has more than 1 item in it, shouldn't trigger
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:14
Function
ok2
If the orelse has more than 1 item in it, shouldn't trigger
crates/ruff_linter/resources/test/fixtures/pylint/collapsible_else_if.py:24
Function
ok_all
(first, /, pos, default="posonly", *, kwonly="kwonly")
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S107.py:25
Method
ok_classmethod
(this)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_custom_decorators.py:14
Function
ok_complex_logic
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT022.py:5
Function
ok_due_to_missing_import
()
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT023.py:2
Function
ok_empty
(first, password="")
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S107.py:33
Function
ok_fully_typed_1
(a: int, b: int)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/ignore_fully_untyped.py:12
← previous
next →
26,001–26,100 of 31,562, ranked by callers