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
nested_invalid_mapping_pattern_keys_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:450
Function
nested_lambda_chain_grows_stack
()
crates/ruff_python_parser/src/parser/tests.rs:510
Function
nested_level
()
crates/ruff_python_formatter/src/statement/suite.rs:1072
Function
nested_lists_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:416
Function
nested_local_same_name_does_not_mark_outer_used
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:887
Function
nested_macro_rules
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:1683
Function
nested_match_case
()
crates/ty_python_core/src/lib.rs:2226
Function
nested_match_patterns_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:434
Function
nested_or_pattern_capture_used_in_guard_is_not_reported
()
crates/ty_python_semantic/src/types/ide_support/unused_bindings.rs:336
Function
nested_overloaded_func
(a: int)
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:86
Function
nested_parens_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:382
Function
nested_partially_quoted_type_assignment
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:4350
Function
nested_project_config_change_is_cheap_if_active_project_unchanged
()
crates/ty/tests/file_watching.rs:2874
Function
nested_projects_delete_root
()
crates/ty/tests/file_watching.rs:2895
Function
nested_projects_in_root_project
()
crates/ty_project/src/metadata.rs:873
Function
nested_projects_in_sub_project
()
crates/ty_project/src/metadata.rs:819
Function
nested_projects_with_outer_ty_section
()
crates/ty_project/src/metadata.rs:1694
Function
nested_projects_without_ty_sections
()
crates/ty_project/src/metadata.rs:927
Function
nested_range_suppressions
()
crates/ruff_linter/src/suppression.rs:1619
Function
nested_relative_typing_module
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:710
Function
nested_returns_one_non_empty
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR004.py:31
Function
nested_scopes_with_return
()
crates/ty_ide/src/completion.rs:11044
Function
nested_search_path_picks_up_missed_dependency_edit
()
crates/ty/tests/file_watching.rs:1762
Function
nested_search_path_picks_up_missed_dependency_edit
()
crates/ty_server/tests/e2e/file_watching.rs:303
Function
nested_sibling_workspace_uses_correct_project
()
crates/ty_server/tests/e2e/workspace_folders.rs:602
Function
nested_sibling_workspace_uses_correct_settings
()
crates/ty_server/tests/e2e/workspace_folders.rs:563
Function
nested_site_packages_change_does_not_invalidate_dynamic_resolution_paths
()
crates/ty_module_resolver/src/resolve.rs:3234
Function
nested_subscripts_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:428
Function
nested_suppressions_for_other_lints_do_not_match
()
crates/ty_python_semantic/src/suppression.rs:982
Function
nested_trailing_function
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:317
Function
nested_try_finally
()
crates/ruff_linter/resources/test/fixtures/mccabe/C901.py:85
Function
nested_try_finally
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:345
Function
nested_unary_chains_grow_stack
()
crates/ruff_python_parser/src/parser/tests.rs:531
Function
nested_visit_short_circuits_on_cycle
()
crates/ty_python_semantic/src/types/cyclic.rs:1678
Function
nested_workspace_remains_excluded_without_explicit_registration
()
crates/ruff_server/tests/e2e/workspace.rs:182
Function
nested_workspace_root_is_not_excluded_by_an_ancestor
()
crates/ruff_server/tests/e2e/workspace.rs:111
Function
nested_workspace_root_is_not_excluded_by_an_ancestor_in_a_multi_root_workspace
()
crates/ruff_server/tests/e2e/workspace.rs:126
Function
nested_yield
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:102
Method
nesting
Return the nesting level the iterator is currently in.
crates/ruff_python_ast/src/token/tokens.rs:368
Method
never
(builder: &'c ConstraintSetBuilder<'db>)
crates/ty_python_semantic/src/types/constraints.rs:427
Function
never_satisfied_cache_is_shared_across_source_orders
()
crates/ty_python_semantic/src/types/constraints.rs:6378
Function
never_satisfied_results_depend_on_inferable
()
crates/ty_python_semantic/src/types/constraints.rs:6321
Method
new
Splice `replacement` into the [`Snippet`] at the specified byte span <div class="warning"> Text passed to this function is considered "untrusted inp
crates/ruff_annotate_snippets/src/snippet.rs:477
Method
new
(complete: &str, patches: &[TrimmedPatch<'_>], sm: &SourceMap<'_>)
crates/ruff_annotate_snippets/src/renderer/render.rs:2544
Method
new
( whitespace_left: usize, span_left: usize, span_right: usize, label_right: us
crates/ruff_annotate_snippets/src/renderer/margin.rs:27
Method
new
(source: &'a str, line_start: usize)
crates/ruff_annotate_snippets/src/renderer/source_map.rs:17
Method
new
(ch: char, style: ElementStyle)
crates/ruff_annotate_snippets/src/renderer/styled_buffer.rs:27
Method
new
(include: IncludeFilter, exclude: ExcludeFilter)
crates/ty_project/src/glob.rs:27
Method
new
Creates a project with the given name and root that uses the default options.
crates/ty_project/src/metadata.rs:82
Method
new
( project_metadata: ProjectMetadata, system: S, strategy: &Strategy, )
crates/ty_project/src/db.rs:160
Method
new
(path: impl AsRef<SystemPath>, source: ValueSource)
crates/ty_project/src/metadata/value.rs:39
Method
new
Create a validated, normalized package name.
crates/ty_project/src/metadata/pyproject.rs:205
Method
new
(id: DiagnosticId, message: String, severity: Severity)
crates/ty_project/src/metadata/options.rs:2602
Method
new
()
crates/ty_project/src/glob/exclude.rs:75
Method
new
()
crates/ty_project/src/glob/include.rs:184
Method
new
Create a new project watcher.
crates/ty_project/src/watch/project_watcher.rs:34
Method
new
(system: &dyn System)
crates/ty_project/src/uv/command.rs:21
Method
new
(results_sender: Sender<UvMetadataResult>, wake_sender: Sender<()>)
crates/ty_project/src/uv/service.rs:50
Method
new
( file_name: &str, source: &str, uv_workspace_discovery: bool,
crates/ty_project/src/uv/environments.rs:1527
Method
new
()
crates/ty_project/src/uv/metadata/string_interner.rs:24
Method
new
(verbosity: VerbosityLevel, no_progress: bool)
crates/ty/src/printer.rs:15
Method
new
( mode: MainLoopMode, printer: Printer, progress: indicatif::MultiProgress, )
crates/ty/src/lib.rs:332
Method
new
()
crates/ty/tests/common/mod.rs:23
Method
new
(content: &'src str, index: &'index LineIndex)
crates/ruff_source_file/src/lib.rs:30
Method
new
Creates a non-zero if the given value is not zero.
crates/ruff_source_file/src/line_index.rs:586
Method
new
(text: &'a str, offset: TextSize)
crates/ruff_source_file/src/newlines.rs:206
Method
new
(source: &'a [u8], layout: EscapeLayout)
crates/ruff_python_literal/src/escape.rs:483
Method
new
()
crates/ruff_python_semantic/src/globals.rs:65
Method
new
( typing_modules: &'a [String], custom_builtins: &'a [String], target_version: PythonV
crates/ruff_python_semantic/src/model.rs:208
Method
new
Initialize a new [`DunderAllDefinition`] instance.
crates/ruff_python_semantic/src/model/all.rs:57
Method
new
(cfg: ControlFlowGraph<'stmt>, source: &'stmt str)
crates/ruff_python_semantic/src/cfg/visualize.rs:163
Method
new
(client_capabilities: &ClientCapabilities)
crates/ty_server/src/capabilities.rs:216
Method
new
( worker_threads: NonZeroUsize, connection: Connection, native_system: Arc<dyn System
crates/ty_server/src/server.rs:52
Method
new
( resolved_client_capabilities: ResolvedClientCapabilities, position_encoding: PositionEncodin
crates/ty_server/src/session.rs:166
Method
new
( index: Arc<Index>, native_system: Arc<dyn System + 'static + Send + Sync + RefUnwindSafe>,
crates/ty_server/src/system.rs:92
Method
new
()
crates/ty_server/src/session/request_queue.rs:17
Method
new
()
crates/ty_server/src/session/index.rs:19
Method
new
(main_loop_sender: MainLoopSender, client_sender: ConnectionSender)
crates/ty_server/src/session/client.rs:20
Method
new
(capabilities: ResolvedClientCapabilities)
crates/ty_server/src/session/file_watcher.rs:67
Method
new
( uri: Uri, contents: String, version: DocumentVersion, language_id: LanguageK
crates/ty_server/src/document/text_document.rs:52
Method
new
( uri: lsp_types::Uri, notebook_version: DocumentVersion, cells: Vec<lsp_types::Notebo
crates/ty_server/src/document/notebook.rs:43
Method
new
Uses the supplied progress token or queues a create request for the main loop to send.
crates/ty_server/src/server/lazy_work_done_progress.rs:51
Method
new
(err: anyhow::Error, code: server::ErrorCode)
crates/ty_server/src/server/api.rs:600
Method
new
(worker_threads: NonZeroUsize)
crates/ty_server/src/server/schedule.rs:40
Method
new
(work_done: LazyWorkDoneProgress, response: ResponseWriter<'a>)
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:237
Method
new
(priority: ThreadPriority)
crates/ty_server/src/server/schedule/thread.rs:41
Method
new
(threads: NonZeroUsize)
crates/ty_server/src/server/schedule/thread/pool.rs:55
Method
new
Create a new test server with the given workspace configurations
crates/ty_server/tests/e2e/main.rs:226
Method
new
(name: &str)
crates/ty_module_resolver/src/module_name.rs:34
Method
new
( db: &'db dyn Db, resolver_environment: ResolverEnvironment<'db>, mode: ModuleResolve
crates/ty_module_resolver/src/resolve.rs:1897
Method
new
()
crates/ty_module_resolver/src/db.rs:34
Method
new
Creates a new empty builder.
crates/ty_module_resolver/src/module_glob.rs:144
Method
new
(src_roots: Vec<SystemPathBuf>)
crates/ty_module_resolver/src/settings.rs:38
Method
new
( context: &ResolverContext<'db>, path: ModulePath, enumeration_allowed: Option<bool>,
crates/ty_module_resolver/src/path.rs:278
Method
new
()
crates/ty_module_resolver/src/testing.rs:185
Method
new
(db: &dyn Db, candidate: &ModuleResolutionCandidate<'_>)
crates/ty_module_resolver/src/resolve/search.rs:525
Method
new
(text: &'a str)
crates/ruff_formatter/src/source_code.rs:12
Method
new
(value: NonZeroU32, debug_name: &'static str)
crates/ruff_formatter/src/group_id.rs:14
Method
new
(state: &'a mut FormatState<Context>)
crates/ruff_formatter/src/buffer.rs:178
Method
new
(mode: LineMode)
crates/ruff_formatter/src/builders.rs:200
← previous
next →
25,401–25,500 of 31,766, ranked by callers