MCPcopy Create free account

hub / github.com/astral-sh/ruff / functions

Functions31,562 in github.com/astral-sh/ruff

Functionsemantic_tokens_self_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1823
Functionsemantic_tokens_staticmethod_parameter
()
crates/ty_ide/src/semantic_tokens.rs:1877
Functionsemantic_tokens_variables
()
crates/ty_ide/src/semantic_tokens.rs:1723
Functionsemantic_tokens_walrus
()
crates/ty_ide/src/semantic_tokens.rs:1804
Functionsend
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
Methodsend_begin
(client: &Client, token: ProgressToken, begin: WorkDoneProgressBegin)
crates/ty_server/src/server/lazy_work_done_progress.rs:179
Methodsend_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
Functionsend_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
Functionsend_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
Methodsend_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
Methodsend_notification
Sends a notification to the client.
crates/ty_server/src/session/client.rs:119
Methodsend_notification
Send a notification to the server.
crates/ty_server/tests/e2e/main.rs:418
Methodsend_notification
Sends a notification to the client.
crates/ruff_server/src/session/client.rs:95
Methodsend_notification
Send a notification to the server.
crates/ruff_server/tests/e2e/main.rs:355
Methodsend_notification_no_params
(&self, method: &str)
crates/ty_server/src/session/client.rs:156
Methodsend_notification_no_params
(&self, method: &str)
crates/ruff_server/src/session/client.rs:117
Methodsend_partial_result
Sends a notification of partial result progress to the client, via a `$/progress` notification.
crates/ty_server/src/session/client.rs:234
Methodsend_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
Methodsend_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
Methodsend_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
Methodsend_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
Methodsend_request_await
(&mut self, params: R::Params)
crates/ty_server/tests/e2e/main.rs:451
Methodsend_request_await
(&mut self, params: R::Params)
crates/ruff_server/tests/e2e/main.rs:389
Functionsensor_returning_dict
()
crates/ruff_linter/resources/test/fixtures/airflow/AIR202.py:169
Functionseparate_modules
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:436
Functionseparate_modules_first_party
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:484
Functionseparate_modules_glob
(path: &Path)
crates/ruff_linter/src/rules/isort/mod.rs:460
Functionseparate_path
()
crates/mdtest/src/parser.rs:2021
Functionseparate_path_whitespace_1
()
crates/mdtest/src/parser.rs:2046
Functionseparate_path_whitespace_2
()
crates/mdtest/src/parser.rs:2071
Functionseparates_direct_dependencies_from_transitive_packages
()
crates/ty_project/src/uv/metadata/dependencies.rs:445
Functionseparates_rest_prefix_roles_from_preceding_text
()
crates/ty_ide/src/docstring/document/syntax.rs:677
Methodsequence_expression_elements
(expression: &ast::Expr)
crates/ty_python_semantic/src/types/narrow.rs:4895
Methodsequence_pattern_target_len
(kind: &SequencePatternPredicateKind<'db>)
crates/ty_python_semantic/src/types/narrow.rs:3485
Functionsequential
(n)
crates/ruff_linter/resources/test/fixtures/mccabe/C901.py:12
Functionsequential
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:224
Methodserialize
(&self, serializer: S)
crates/ruff_python_semantic/src/imports.rs:189
Methodserialize
(&self, serializer: S)
crates/ruff_db/src/diagnostic/mod.rs:1616
Methodserialize
(&self, serializer: S)
crates/ruff_db/src/diagnostic/render/gitlab.rs:55
Methodserialize
(&self, serializer: S)
crates/ruff_db/src/diagnostic/render/sarif.rs:195
Methodserialize
(&self, serializer: S)
crates/ruff_db/src/diagnostic/render/rdjson.rs:47
Methodserialize
(&self, serializer: S)
crates/ruff_text_size/src/serde_impls.rs:7
Methodserialize
(&self, serializer: S)
crates/ruff_python_ast/src/python_version.rs:196
Methodserialize
(&self, serializer: S)
crates/ruff_options_metadata/src/lib.rs:441
Methodserver_capabilities
( position_encoding: PositionEncoding, client_capabilities: &ClientCapabilities, )
crates/ruff_server/src/server.rs:174
Functionserver_fulfills_requests_for_closed_workspace_files
()
crates/ty_server/tests/e2e/closed_documents.rs:16
Functionserver_rejects_unsupported_targets
()
crates/ty_server/tests/e2e/closed_documents.rs:308
Functionserver_reports_only_included_closed_files_in_workspace_mode
()
crates/ty_server/tests/e2e/closed_documents.rs:263
Functionserver_returns_no_closed_file_diagnostics_in_open_files_mode
()
crates/ty_server/tests/e2e/closed_documents.rs:246
Functionserver_returns_no_closed_file_diagnostics_when_disabled
()
crates/ty_server/tests/e2e/closed_documents.rs:229
Methodserver_supports_pull_diagnostics
(self)
scripts/ty_benchmark/src/benchmark/lsp_client.py:109
Functionserver_uses_current_contents_for_open_and_closed_files
()
crates/ty_server/tests/e2e/closed_documents.rs:121
FunctionsetTheme
(mode: Theme)
playground/shared/src/theme.ts:15
MethodsetUp
(self)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM115.py:286
MethodsetUpClass
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM115.py:275
FunctionsetUpTestData
(cls)
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/optional_parentheses_comments.py:97
Methodset_class
(self, cls)
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_0.py:167
Methodset_class
(self, cls)
crates/ruff_linter/resources/test/fixtures/pyflakes/F841_0.py:173
Methodset_comp_expr
(self)
crates/ruff_python_ast/src/generated.rs:1953
Functionset_comp_fields
(node: &ast::ExprSetComp)
crates/ruff_python_ast/src/comparable.rs:1173
Functionset_comprehension
()
crates/ruff_python_ast_integration_tests/tests/visitor.rs:64
Functionset_comprehension
()
crates/ruff_python_ast_integration_tests/tests/source_order.rs:55
Functionset_comprehension_also_not_okay
(default={i**2 for i in range(3)})
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_B008.py:110
Functionset_comprehension_member
()
crates/ty_ide/src/completion.rs:4273
Functionset_date
(d: date)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/module/routes.py:13
Functionset_datetime
(value: datetime.datetime)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/module/app.py:20
Methodset_downstream_constructor
(&mut self, bindings: &Bindings<'db>)
crates/ty_python_semantic/src/types/call/bind.rs:387
Methodset_expr
(self)
crates/ruff_python_ast/src/generated.rs:1879
Functionset_fields
(node: &ast::ExprSet)
crates/ruff_python_ast/src/comparable.rs:1139
Methodset_files
(&mut self, files: usize)
crates/ty/src/lib.rs:793
Methodset_files
(&mut self, files: usize)
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:253
Functionset_indent
()
crates/ruff_python_codegen/src/generator.rs:2050
Functionset_line_ending
()
crates/ruff_python_codegen/src/generator.rs:2108
Functionset_num
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_0.py:45
Methodset_subtree_max_ends
Populates and returns the maximum end and target mask for `entries`.
crates/ty_python_semantic/src/suppression.rs:889
Methodsettings_arc
(&self)
crates/ty_server/src/session.rs:1843
Functionsettings_diagnostic_path_ignores_python_helper_scripts
()
crates/ty_site_packages/src/lib.rs:3280
Functionsetup
()
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:130
Methodsetup
(self)
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:273
Methodsetup
(self)
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:315
Methodsetup
()
crates/ty_test/src/db.rs:38
Methodsetup
()
crates/ruff_mdtest/src/db.rs:16
Methodsetup
()
crates/mdtest/src/lib.rs:765
Functionsetup_app
(app_arg: FastAPI, non_app: str)
crates/ruff_linter/resources/test/fixtures/fastapi/FAST001.py:121
Functionsetup_app
(app_arg: FastAPI, non_app: str)
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:95
Functionsetup_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
Methodseverity_and_source
( ctx: &'ctx InferContext<'db, 'ctx>, lint: LintId, )
crates/ty_python_semantic/src/types/context.rs:659
Methodseverity_for_display
(self)
scripts/conformance.py:247
Functionshadow_builtins
(filename: str, extension: str)
crates/ruff_linter/resources/test/fixtures/refurb/FURB188.py:151
Functionshadowed_builtins
()
crates/ruff_linter/src/rules/flake8_annotations/mod.rs:234
Functionshadowed_by_for
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2579
Functionshadowed_by_for_deep
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2594
Functionshadowed_by_lambda
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2871
Functionshadowed_by_parameter
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:2415
Functionshadowed_generator
(t, Generator)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:152
Functionshadowed_pyproject_rule_alias_conflict
()
crates/ty/tests/cli/rule_selection.rs:349
Functionshadowed_type
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:105
Functionshadowed_typing
(t, object)
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP052.py:145
Functionshadowing_function
()
crates/ruff_linter/resources/test/fixtures/pyupgrade/UP029_3.py:1
Functionshared_config_override_warns_once_across_scripts
()
crates/ty/tests/cli/scripts.rs:118
← previousnext →28,201–28,300 of 31,562, ranked by callers