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
noreturn_pytest_xfail_2
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:265
Function
noreturn_quit
(x)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:163
Function
noreturn_sys_exit
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:211
Function
noreturn_typing_assert_never
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:217
Function
noreturn_typing_extensions_assert_never
()
crates/ruff_linter/resources/test/fixtures/flake8_return/RET503.py:223
Function
normal
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:103
Method
normal
(self)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py:97
Function
normal_function
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:5
Function
normal_function_with_value
()
crates/ruff_linter/resources/test/fixtures/pylint/stop_iteration_return.py:9
Function
normal_python_unaffected
()
crates/ruff_python_parser/src/parser/tests.rs:343
Function
normalization_can_change_identifiers
()
crates/ruff_python_trivia/src/name_matcher.rs:155
Method
normalize
Constructs a [`GlobPath`] by escaping any glob metacharacters in `root` and normalizing `path` to the escaped `root`. See [`fs::normalize_path_to`] f
crates/ruff_linter/src/settings/types.rs:181
Function
normalize_32_escape
()
crates/ruff_python_formatter/src/string/normalize.rs:1128
Method
normalize_binding
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, previous: &DefinitionTypes<'db>,
crates/ty_python_semantic/src/types/infer.rs:1299
Method
normalize_bound
( db: &'db dyn Db, typevar: BoundTypeVarInstance<'db>, bound: Type<'db>, )
crates/ty_python_semantic/src/types/constraints/variables.rs:448
Function
normalize_carriage_return
()
crates/ruff_db/src/diagnostic/render/full.rs:936
Method
normalize_declaration
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, previous: &DefinitionTypes<'db>,
crates/ty_python_semantic/src/types/infer.rs:1315
Function
normalize_hex_in_byte_string
()
crates/ruff_python_formatter/src/string/normalize.rs:1138
Function
normalize_newlines
Replace the line terminators matching the provided list with "\n" since its the only line break type supported by the printer
crates/ruff_formatter/src/format_element.rs:196
Function
normalize_path_captures
(path_captures: ®ex::Captures)
crates/mdtest/src/matcher.rs:301
Method
normalize_unnormalized_path
Remove `.` and `..` components, and validate that unsupported components are not present. This inner routine also strips trailing slashes, and normal
crates/ruff_db/src/vendored.rs:435
Function
normalize_untrusted_str
Normalize the string to avoid any unicode control characters. This is important for untrusted input, as it can contain invalid unicode sequences.
crates/ruff_annotate_snippets/src/lib.rs:118
Method
normalized
(db: &'db dyn Db, input: OrderedUnionInput<'db>)
crates/ty_python_semantic/src/types/set_theoretic.rs:72
Function
normalized_identifier_references_across_files
()
crates/ty_ide/src/find_references.rs:290
Function
normalized_whole_identifier
()
crates/ruff_python_trivia/src/name_matcher.rs:171
Function
normalizes_site_packages_paths_only_in_diagnostic_locations
()
crates/ty_test/src/lib.rs:637
Function
not_a_deprecated_function
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI053.py:74
Function
not_a_generator
No returns documented here, oh no
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:234
Function
not_a_type_param
()
crates/ruff_python_parser/resources/invalid/statements/function_type_parameters.py:13
Function
not_a_typing_overload
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:3787
Function
not_async
()
crates/ruff_linter/resources/test/fixtures/pylint/await_outside_async.py:14
Function
not_async_fun
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC116.py:44
Method
not_boolable_type
(&self)
crates/ty_python_semantic/src/types/bool.rs:432
Function
not_broken2
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:25
Function
not_broken3
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:29
Function
not_broken4
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:41
Function
not_broken5
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B901.py:48
Method
not_callable
(signature_type: Type<'db>)
crates/ty_python_semantic/src/types/call/bind.rs:3621
Function
not_capitalized
Toggle the gizmo. returns ------- A value of some sort.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:16
Function
not_checked
()
crates/ruff_linter/resources/test/fixtures/flake8_import_conventions/defaults.py:1
Function
not_decorated
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004.py:85
Function
not_decorated
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:114
Function
not_deferred
()
crates/ty_python_semantic/src/types/signatures.rs:6839
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:2533
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:779
Function
notebook_output
()
crates/ruff_db/src/diagnostic/render/json.rs:268
Function
notebook_output_multiple_annotations
()
crates/ruff_db/src/diagnostic/render/full.rs:833
Function
notebook_output_with_diff
()
crates/ruff_db/src/diagnostic/render/full.rs:906
Function
notebook_output_with_diff_spanning_cells
()
crates/ruff_db/src/diagnostic/render/full.rs:915
Method
notebook_path
(&self)
crates/ty_server/src/session.rs:2018
Function
notebook_test
()
crates/mdtest/src/parser.rs:1256
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:106
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:4135
← previous
next →
26,101–26,200 of 31,766, ranked by callers