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
semantic_tokens_self_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1823
Function
semantic_tokens_staticmethod_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1877
Function
semantic_tokens_variables
()
crates/ty_ide/src/semantic_tokens.rs:1723
Function
semantic_tokens_walrus
()
crates/ty_ide/src/semantic_tokens.rs:1804
Function
send
Send a message. Args: payload: The message payload. attributes: Additional attributes to be sent al
crates/ruff_linter/resources/test/fixtures/pydocstyle/D417.py:185
Method
send_begin
(client: &Client, token: ProgressToken, begin: WorkDoneProgressBegin)
crates/ty_server/src/server/lazy_work_done_progress.rs:179
Method
send_deferred_request
Sends a request of kind `R` to the client, with associated parameters. The request isn't sent immediately, but rather queued up in the main loop. The
crates/ty_server/src/session/client.rs:61
Function
send_email
Sends an email to the specified recipients. Args: subject (str): The subject of the email. body (str): The content of the em
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_google.py:87
Function
send_email
Sends an email to the specified recipients. Parameters ---------- subject : str The subject of the email. body : str
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:114
Method
send_help
|coro| Shows the help command for the specified entity if given. The entity can be a command or a cog. If no entity is given
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:314
Method
send_notification
Sends a notification to the client.
crates/ty_server/src/session/client.rs:119
Method
send_notification
Send a notification to the server.
crates/ty_server/tests/e2e/main.rs:418
Method
send_notification
Sends a notification to the client.
crates/ruff_server/src/session/client.rs:95
Method
send_notification
Send a notification to the server.
crates/ruff_server/tests/e2e/main.rs:355
Method
send_notification_no_params
(&self, method: &str)
crates/ty_server/src/session/client.rs:156
Method
send_notification_no_params
(&self, method: &str)
crates/ruff_server/src/session/client.rs:117
Method
send_partial_result
Sends a notification of partial result progress to the client, via a `$/progress` notification.
crates/ty_server/src/session/client.rs:234
Method
send_request
Sends a request of kind `R` to the client, with associated parameters. The request is sent immediately. The `response_handler` will be dispatched as
crates/ty_server/src/session/client.rs:36
Method
send_request
Send a request to the server and return the request ID. The caller can use this ID to later retrieve the response using [`await_response`]. [`await_
crates/ty_server/tests/e2e/main.rs:401
Method
send_request
Sends a request of kind `R` to the client, with associated parameters. The request is sent immediately. The `response_handler` will be dispatched as
crates/ruff_server/src/session/client.rs:41
Method
send_request
Send a request to the server and return the request ID. The caller can use this ID to later retrieve the response using [`await_response`]. [`await_
crates/ruff_server/tests/e2e/main.rs:338
Method
send_request_await
(&mut self, params: R::Params)
crates/ty_server/tests/e2e/main.rs:451
Method
send_request_await
(&mut self, params: R::Params)
crates/ruff_server/tests/e2e/main.rs:389
Function
sensor_returning_dict
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:169
Function
separate_modules
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:436
Function
separate_modules_first_party
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:484
Function
separate_modules_glob
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:460
Function
separate_path
()
crates/mdtest/src/parser.rs:2021
Function
separate_path_whitespace_1
()
crates/mdtest/src/parser.rs:2046
Function
separate_path_whitespace_2
()
crates/mdtest/src/parser.rs:2071
Function
separates_direct_dependencies_from_transitive_packages
()
crates/ty_project/src/uv/metadata/dependencies.rs:445
Function
separates_rest_prefix_roles_from_preceding_text
()
crates/ty_ide/src/docstring/document/syntax.rs:677
Method
sequence_expression_elements
(expression: &ast::Expr)
crates/ty_python_semantic/src/types/narrow.rs:4895
Method
sequence_pattern_target_len
(kind: &SequencePatternPredicateKind<'db>)
crates/ty_python_semantic/src/types/narrow.rs:3485
Function
sequential
(n)
crates/ruff_linter/resources/test/fixtures/mccabe/C901.py:12
Function
sequential
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:224
Method
serialize
(&self, serializer: S)
crates/ruff_python_semantic/src/imports.rs:189
Method
serialize
(&self, serializer: S)
crates/ruff_db/src/diagnostic/mod.rs:1616
Method
serialize
(&self, serializer: S)
crates/ruff_db/src/diagnostic/render/gitlab.rs:55
Method
serialize
(&self, serializer: S)
crates/ruff_db/src/diagnostic/render/sarif.rs:195
Method
serialize
(&self, serializer: S)
crates/ruff_db/src/diagnostic/render/rdjson.rs:47
Method
serialize
(&self, serializer: S)
crates/ruff_text_size/src/serde_impls.rs:7
Method
serialize
(&self, serializer: S)
crates/ruff_python_ast/src/python_version.rs:196
Method
serialize
(&self, serializer: S)
crates/ruff_options_metadata/src/lib.rs:441
Method
server_capabilities
( position_encoding: PositionEncoding, client_capabilities: &ClientCapabilities, )
crates/ruff_server/src/server.rs:174
Function
server_fulfills_requests_for_closed_workspace_files
()
crates/ty_server/tests/e2e/closed_documents.rs:16
Function
server_rejects_unsupported_targets
()
crates/ty_server/tests/e2e/closed_documents.rs:308
Function
server_reports_only_included_closed_files_in_workspace_mode
()
crates/ty_server/tests/e2e/closed_documents.rs:263
Function
server_returns_no_closed_file_diagnostics_in_open_files_mode
()
crates/ty_server/tests/e2e/closed_documents.rs:246
Function
server_returns_no_closed_file_diagnostics_when_disabled
()
crates/ty_server/tests/e2e/closed_documents.rs:229
Method
server_supports_pull_diagnostics
(self)
scripts/ty_benchmark/src/benchmark/lsp_client.py:109
Function
server_uses_current_contents_for_open_and_closed_files
()
crates/ty_server/tests/e2e/closed_documents.rs:121
Function
setTheme
(mode: Theme)
playground/shared/src/theme.ts:15
Method
setUp
(self)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM115.py:286
Method
setUpClass
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM115.py:275
Function
setUpTestData
(cls)
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:97
Method
set_class
(self, cls)
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_0.py:167
Method
set_class
(self, cls)
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_0.py:173
Method
set_comp_expr
(self)
crates/ruff_python_ast/src/generated.rs:1953
Function
set_comp_fields
(node: &ast::ExprSetComp)
crates/ruff_python_ast/src/comparable.rs:1173
Function
set_comprehension
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:64
Function
set_comprehension
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:55
Function
set_comprehension_also_not_okay
(default={i**2 for i in range(3)})
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:110
Function
set_comprehension_member
()
crates/ty_ide/src/completion.rs:4273
Function
set_date
(d: date)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/module/routes.py:13
Function
set_datetime
(value: datetime.datetime)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/module/app.py:20
Method
set_downstream_constructor
(&mut self, bindings: &Bindings<'db>)
crates/ty_python_semantic/src/types/call/bind.rs:387
Method
set_expr
(self)
crates/ruff_python_ast/src/generated.rs:1879
Function
set_fields
(node: &ast::ExprSet)
crates/ruff_python_ast/src/comparable.rs:1139
Method
set_files
(&mut self, files: usize)
crates/ty/src/lib.rs:793
Method
set_files
(&mut self, files: usize)
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:253
Function
set_indent
()
crates/ruff_python_codegen/src/generator.rs:2050
Function
set_line_ending
()
crates/ruff_python_codegen/src/generator.rs:2108
Function
set_num
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_0.py:45
Method
set_subtree_max_ends
Populates and returns the maximum end and target mask for `entries`.
crates/ty_python_semantic/src/suppression.rs:889
Method
settings_arc
(&self)
crates/ty_server/src/session.rs:1843
Function
settings_diagnostic_path_ignores_python_helper_scripts
()
crates/ty_site_packages/src/lib.rs:3280
Function
setup
()
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:130
Method
setup
(self)
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:273
Method
setup
(self)
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:315
Method
setup
()
crates/ty_test/src/db.rs:38
Method
setup
()
crates/ruff_mdtest/src/db.rs:16
Method
setup
()
crates/mdtest/src/lib.rs:765
Function
setup_app
(app_arg: FastAPI, non_app: str)
crates/ruff_linter/resources/test/fixtures/fastapi/FAST001.py:121
Function
setup_app
(app_arg: FastAPI, non_app: str)
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:95
Function
setup_logging
Sets up logging for the current thread. It captures all `ty` and `ruff` events. Useful for capturing the tracing output in a failing test. # Example
crates/ruff_db/src/testing.rs:158
Method
severity_and_source
( ctx: &'ctx InferContext<'db, 'ctx>, lint: LintId, )
crates/ty_python_semantic/src/types/context.rs:659
Method
severity_for_display
(self)
scripts/conformance.py:247
Function
shadow_builtins
(filename: str, extension: str)
crates/ruff_linter/resources/test/fixtures/refurb/FURB188.py:151
Function
shadowed_builtins
()
crates/ruff_linter/src/rules/flake8_annotations/mod.rs:234
Function
shadowed_by_for
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2579
Function
shadowed_by_for_deep
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2594
Function
shadowed_by_lambda
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2871
Function
shadowed_by_parameter
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2415
Function
shadowed_generator
(t, Generator)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:152
Function
shadowed_pyproject_rule_alias_conflict
()
crates/ty/tests/cli/rule_selection.rs:349
Function
shadowed_type
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:105
Function
shadowed_typing
(t, object)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:145
Function
shadowing_function
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP029_3.py:1
Function
shared_config_override_warns_once_across_scripts
()
crates/ty/tests/cli/scripts.rs:118
← previous
next →
28,201–28,300 of 31,562, ranked by callers