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
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_pyi/mod.rs:131
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/perflint/mod.rs:23
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_raise/mod.rs:16
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/airflow/mod.rs:69
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/fastapi/mod.rs:23
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_debugger/mod.rs:17
Function
rules
(path: &Path)
crates/ruff_linter/src/rules/flake8_use_pathlib/mod.rs:25
Function
rules
(rule_code: Rule)
crates/ruff_linter/src/rules/flake8_fixme/mod.rs:18
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/ruff/mod.rs:128
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_slots/mod.rs:19
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_datetimez/mod.rs:26
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pycodestyle/mod.rs:69
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_gettext/mod.rs:80
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_async/mod.rs:35
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_bandit/mod.rs:90
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_django/mod.rs:23
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pydoclint/mod.rs:21
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_unused_arguments/mod.rs:21
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_2020/mod.rs:26
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flynt/mod.rs:17
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pygrep_hooks/mod.rs:24
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/tryceratops/mod.rs:26
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pylint/mod.rs:246
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/numpy/mod.rs:23
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_bugbear/mod.rs:78
Function
rules
(rule: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_executable/mod.rs:34
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_logging/mod.rs:26
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyflakes/mod.rs:190
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_self/mod.rs:20
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pep8_naming/mod.rs:80
Function
rules
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:121
Function
rules_google_style
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pydoclint/mod.rs:38
Function
rules_google_style_ignore_one_line
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pydoclint/mod.rs:80
Function
rules_not_applied_default_typevar_backported
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:237
Function
rules_numpy_style
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pydoclint/mod.rs:61
Function
rules_preview
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_gettext/mod.rs:93
Function
rules_preview
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:250
Function
rules_py312
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_builtins/mod.rs:227
Function
rules_py313
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/pyupgrade/mod.rs:261
Function
rules_py315
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_comprehensions/mod.rs:61
Function
rules_py38
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/fastapi/mod.rs:55
Function
rules_pypath
(rule_code: Rule, path: &Path)
crates/ruff_linter/src/rules/flake8_use_pathlib/mod.rs:75
Function
rules_with_flake8_type_checking_settings_enabled
( rule_code: Rule, path: &Path, )
crates/ruff_linter/src/rules/pyflakes/mod.rs:201
Function
rules_with_target_version
( rule_code: Rule, path: &Path, target_version: PythonVersion, )
crates/ruff_linter/src/rules/flake8_bugbear/mod.rs:127
Function
run
(test: LspTest)
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:139
Function
run
(editor: editor.ICodeEditor)
playground/ruff/src/Editor/Editor.tsx:124
Function
run
(editor)
playground/ruff/src/Editor/SettingsEditor.tsx:36
Function
run
(args: &ServerCommand)
crates/ty/src/server.rs:21
Function
run
()
crates/ty_wasm/src/lib.rs:62
Function
run
Run `path` as a markdown test suite with given `title`. Panic on test failure, and print failure details.
crates/mdtest/src/lib.rs:48
Method
run
(self)
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:278
Method
run
(self)
scripts/ty_benchmark/src/benchmark/test_lsp_diagnostics.py:336
Method
run
( session: &mut Session, client: &Client, types::DidChangeNotebookDocumentParams {
crates/ty_server/src/server/api/notifications/did_change_notebook.rs:18
Method
run
( session: &mut Session, client: &Client, params: DidOpenNotebookDocumentParams, )
crates/ty_server/src/server/api/notifications/did_open_notebook.rs:20
Method
run
( session: &mut Session, client: &Client, params: DidChangeTextDocumentParams, )
crates/ty_server/src/server/api/notifications/did_change.rs:21
Method
run
( session: &mut Session, client: &Client, params: DidCloseNotebookDocumentParams,
crates/ty_server/src/server/api/notifications/did_close_notebook.rs:19
Method
run
( session: &mut Session, client: &Client, params: types::DidChangeWorkspaceFoldersPara
crates/ty_server/src/server/api/notifications/did_change_workspace_folders.rs:15
Method
run
( session: &mut Session, client: &Client, params: DidOpenTextDocumentParams, )
crates/ty_server/src/server/api/notifications/did_open.rs:17
Method
run
( session: &mut Session, client: &Client, params: DidSaveTextDocumentParams, )
crates/ty_server/src/server/api/notifications/did_save.rs:17
Method
run
(session: &mut Session, client: &Client, params: CancelParams)
crates/ty_server/src/server/api/notifications/cancel.rs:17
Method
run
( session: &mut Session, client: &Client, params: types::DidChangeWatchedFilesParams,
crates/ty_server/src/server/api/notifications/did_change_watched_files.rs:21
Method
run
( session: &mut Session, client: &Client, params: DidCloseTextDocumentParams, )
crates/ty_server/src/server/api/notifications/did_close.rs:18
Method
run
( session: &mut Session, _client: &Client, params: types::ExecuteCommandParams, )
crates/ty_server/src/server/api/requests/execute_command.rs:23
Method
run
( snapshot: &SessionSnapshot, _client: &Client, params: WorkspaceSymbolParams, )
crates/ty_server/src/server/api/requests/workspace_symbols.rs:19
Method
run
( snapshot: &SessionSnapshot, _client: &Client, params: TypeHierarchySubtypesParams,
crates/ty_server/src/server/api/requests/type_hierarchy_subtypes.rs:23
Method
run
( snapshot: &SessionSnapshot, _client: &Client, params: CallHierarchyOutgoingCallsPara
crates/ty_server/src/server/api/requests/call_hierarchy_outgoing_calls.rs:25
Method
run
( snapshot: &SessionSnapshot, client: &Client, params: WorkspaceDiagnosticParams,
crates/ty_server/src/server/api/requests/workspace_diagnostic.rs:113
Method
run
( snapshot: &SessionSnapshot, _client: &Client, params: CallHierarchyIncomingCallsPara
crates/ty_server/src/server/api/requests/call_hierarchy_incoming_calls.rs:25
Method
run
(session: &mut Session, client: &Client, _params: ())
crates/ty_server/src/server/api/requests/shutdown.rs:15
Method
run
( snapshot: &SessionSnapshot, _client: &Client, params: RenameFilesParams, )
crates/ty_server/src/server/api/requests/will_rename_files.rs:37
Method
run
( snapshot: &SessionSnapshot, _client: &Client, params: TypeHierarchySupertypesParams,
crates/ty_server/src/server/api/requests/type_hierarchy_supertypes.rs:23
Method
run
( session: &mut Session, client: &Client, types::DidChangeNotebookDocumentParams {
crates/ruff_server/src/server/api/notifications/did_change_notebook.rs:15
Method
run
( session: &mut Session, client: &Client, types::DidOpenNotebookDocumentParams {
crates/ruff_server/src/server/api/notifications/did_open_notebook.rs:16
Method
run
( session: &mut Session, client: &Client, types::DidChangeTextDocumentParams {
crates/ruff_server/src/server/api/notifications/did_change.rs:15
Method
run
( session: &mut Session, _client: &Client, types::DidCloseNotebookDocumentParams {
crates/ruff_server/src/server/api/notifications/did_close_notebook.rs:13
Method
run
( session: &mut Session, client: &Client, types::DidOpenTextDocumentParams {
crates/ruff_server/src/server/api/notifications/did_open.rs:15
Method
run
(session: &mut Session, client: &Client, params: CancelParams)
crates/ruff_server/src/server/api/notifications/cancel.rs:16
Method
run
( session: &mut Session, client: &Client, params: types::DidChangeWatchedFilesParams,
crates/ruff_server/src/server/api/notifications/did_change_watched_files.rs:14
Method
run
( _session: &mut Session, _client: &Client, _params: types::DidChangeConfigurationPara
crates/ruff_server/src/server/api/notifications/did_change_configuration.rs:12
Method
run
( session: &mut Session, client: &Client, params: types::DidChangeWorkspaceFoldersPara
crates/ruff_server/src/server/api/notifications/did_change_workspace.rs:13
Method
run
( session: &mut Session, client: &Client, types::DidCloseTextDocumentParams {
crates/ruff_server/src/server/api/notifications/did_close.rs:14
Method
run
( session: &mut Session, client: &Client, params: types::ExecuteCommandParams, )
crates/ruff_server/src/server/api/requests/execute_command.rs:40
Function
runTest
This test function does not need to be written in imperative mood, either.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:107
Function
run_command
(command: Sequence[str])
scripts/collect_ty_ecosystem_run_metadata.py:58
Method
run_command
Runs `command` and captures its standard output and standard error.
crates/ruff_db/src/system.rs:113
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/goto_declaration.rs:25
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, _params
crates/ty_server/src/server/api/requests/document_symbols.rs:29
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/hover.rs:25
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/doc_highlights.rs:26
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/prepare_type_hierarchy.rs:35
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, _params
crates/ty_server/src/server/api/requests/semantic_tokens.rs:25
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/selection_range.rs:27
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, _params
crates/ty_server/src/server/api/requests/folding_range.rs:26
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/prepare_call_hierarchy.rs:34
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/inlay_hints.rs:29
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/completion.rs:37
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/goto_type_definition.rs:26
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/prepare_rename.rs:25
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/signature_help.rs:28
Method
run_with_snapshot
( db: &ProjectDatabase, snapshot: &DocumentSnapshot, _client: &Client, params:
crates/ty_server/src/server/api/requests/goto_implementation.rs:25
← previous
next →
27,901–28,000 of 31,562, ranked by callers