MCPcopy Create free account

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

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

↓ 1 callersMethodwrite_u128
(&mut self, i: u128)
crates/ruff_cache/src/cache_key.rs:440
↓ 1 callersMethodwrite_u32
(&mut self, i: u32)
crates/ruff_cache/src/cache_key.rs:430
↓ 1 callersMethodwrite_u8
(&mut self, i: u8)
crates/ruff_cache/src/cache_key.rs:420
↓ 1 callersFunctionwrite_virtual_environment
Creates or updates a mock virtual environment, resolving relative paths against the test root.
crates/ty/tests/file_watching.rs:610
↓ 1 callersFunctionwrite_whole_file
FURB103
crates/ruff_linter/src/rules/refurb/rules/write_whole_file.rs:84
↓ 1 callersFunctionwrite_zipped_typeshed_to
Recursively zip the contents of the entire typeshed directory and patch typeshed on the fly to include the `ty_extensions` module. This routine is ad
crates/ty_vendored/build.rs:39
↓ 1 callersFunctionx
(y)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET501.py:1
↓ 1 callersFunctionxcom_pull_in_template_string
AIR201
crates/ruff_linter/src/rules/airflow/rules/xcom_pull_in_template_string.rs:76
↓ 1 callersFunctionxxx
(_param)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/PT019.py:5
↓ 1 callersMethodyay
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF005.py:32
↓ 1 callersFunctionyield_in_context_manager_in_async_generator
ASYNC119
crates/ruff_linter/src/rules/flake8_async/rules/yield_in_context_manager_in_async_generator.rs:85
↓ 1 callersFunctionyield_in_for_loop
UP028
crates/ruff_linter/src/rules/pyupgrade/rules/yield_in_for_loop.rs:72
↓ 1 callersFunctionyield_in_init
PLE0100
crates/ruff_linter/src/rules/pylint/rules/yield_in_init.rs:44
↓ 1 callersFunctionyields_documented
( docstring: &Docstring, docstring_sections: &DocstringSections, convention: Option<Convention>, )
crates/ruff_linter/src/rules/pydoclint/rules/check_docstring.rs:1119
↓ 1 callersFunctionyoda_conditions
SIM300
crates/ruff_linter/src/rules/flake8_simplify/rules/yoda_conditions.rs:207
↓ 1 callersFunctionzip_dict_keys_and_values
SIM911
crates/ruff_linter/src/rules/flake8_simplify/rules/zip_dict_keys_and_values.rs:69
↓ 1 callersFunctionzip_instead_of_pairwise
RUF007
crates/ruff_linter/src/rules/ruff/rules/zip_instead_of_pairwise.rs:116
↓ 1 callersFunctionzip_without_explicit_strict
B905
crates/ruff_linter/src/rules/flake8_bugbear/rules/zip_without_explicit_strict.rs:58
↓ 1 callersFunctionzipped
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB140.py:1
FunctionA
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:333
FunctionAdd
()
playground/shared/src/Icons.tsx:176
MethodAnEquallyLonelyMethod
A multiline method docstring
crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring_no_string_normalization.py:5
FunctionAstralButton
({ className, children, ...otherProps }: ButtonHTMLAttributes<HTMLButtonElement>)
playground/shared/src/AstralButton.tsx:4
FunctionB
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:334
FunctionBAD
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N802.py:12
FunctionBAD_FUNC
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N802.py:16
FunctionBad
()
crates/ruff_linter/resources/test/fixtures/pep8_naming/N802.py:4
FunctionC
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:335
FunctionChrome
({ files, selectedFileName, sessionPromise, theme, onRun, onAddFile, onRenameFile, onRemoveFil
playground/ty/src/Editor/Chrome.tsx:63
FunctionChrome
()
playground/ruff/src/Editor/Chrome.tsx:17
FunctionClose
()
playground/shared/src/Icons.tsx:190
FunctionComments
()
playground/shared/src/Icons.tsx:159
FunctionContent
({ tool, result, theme, revision, onRun, }: { tool: SecondaryTool; onRun(): Promise<string>; r
playground/ty/src/Editor/SecondaryPanel.tsx:44
FunctionD
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:336
FunctionDiagnosticDetailItem
({ item, onGoTo, }: { item: DiagnosticDetail; onGoTo?: (location: DiagnosticDetailLocation) => void; }
playground/shared/src/DiagnosticDetail.tsx:16
FunctionDiagnosticMessage
({ children }: { children: string })
playground/shared/src/DiagnosticDetail.tsx:64
FunctionDiagnostics
({ diagnostics: unsorted, currentFilePath, theme, onGoTo, }: Props)
playground/ty/src/Editor/Diagnostics.tsx:29
FunctionDiagnostics
({ diagnostics: unsorted, theme, onGoTo, }: Props)
playground/ruff/src/Editor/Diagnostics.tsx:20
FunctionDivider
()
playground/shared/src/Header.tsx:78
FunctionE
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:337
FunctionEditor
({ visible, fileName, files, theme, diagnostics, hints, workspace, onMount, onOpenFile, on
playground/ty/src/Editor/Editor.tsx:78
FunctionEditor
({ source, theme, onSourceChanged, onSettingsChanged, }: Props)
playground/ruff/src/Editor/Editor.tsx:53
FunctionErrorMessage
({ children }: { children: string })
playground/shared/src/ErrorMessage.tsx:1
FunctionF
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:338
FunctionFile
({ width = 24, height = 24, }: { width?: number; height?: number; })
playground/shared/src/Icons.tsx:26
FunctionFileEntry
({ name, onClicked, onRenamed, selected }: FileEntryProps)
playground/ty/src/Editor/Files.tsx:138
FunctionFiles
({ order, metadata, selected, theme, onAdd, onRemove, onRename, onSelect, }: Props)
playground/ty/src/Editor/Files.tsx:22
FunctionFormat
()
playground/shared/src/Icons.tsx:108
FunctionFormatterIR
()
playground/shared/src/Icons.tsx:142
FunctionG
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__regression.py:339
FunctionHeader
({ theme, tool, version, onChangeTheme, onReset, edit, onShare, onCopyMarkdownLink, onCopyMa
playground/shared/src/Header.tsx:9
FunctionHorizontalResizeHandle
()
playground/shared/src/ResizeHandle.tsx:3
FunctionI
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E743.py:5
FunctionItems
({ diagnostics, currentFilePath, onGoTo, }: { diagnostics: Array<Diagnostic>; currentFilePath: strin
playground/ty/src/Editor/Diagnostics.tsx:71
FunctionItems
({ diagnostics, onGoTo, }: { diagnostics: Array<Diagnostic>; onGoTo(line: number, column: number): voi
playground/ruff/src/Editor/Diagnostics.tsx:61
FunctionJson
({ height = 24, width = 24, }: { height?: number; width?: number; })
playground/shared/src/Icons.tsx:236
FunctionJupyter
({ height = 24, width = 24, }: { height?: number; width?: number; })
playground/shared/src/Icons.tsx:280
FunctionListItem
({ children, selected, theme }: ListItemProps)
playground/ty/src/Editor/Files.tsx:106
FunctionLoading
()
playground/ty/src/Playground.tsx:784
FunctionLogo
({ name, className }: { name: "ruff" | "ty"; className: string })
playground/shared/src/Header.tsx:93
FunctionMyClass
()
crates/ty_python_semantic/resources/corpus/25_func_annotations_same_name.py:8
MethodO
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E743.py:10
FunctionPlayground
()
playground/ty/src/Playground.tsx:37
FunctionPrimarySideBar
({ selected, onSelectTool, }: SideBarProps)
playground/ruff/src/Editor/PrimarySideBar.tsx:10
FunctionRepoButton
({ href }: { href: string })
playground/shared/src/RepoButton.tsx:1
FunctionResetButton
({ onClicked }: { onClicked?: () => void })
playground/shared/src/Header.tsx:134
FunctionRun
({ onRun, theme }: { onRun(): Promise<string>; theme: Theme })
playground/ty/src/Editor/SecondaryPanel.tsx:105
FunctionRun
({ width = 24, height = 24, }: { width?: number; height?: number; })
playground/shared/src/Icons.tsx:49
FunctionRunOutput
({ runOutput, theme, }: { theme: Theme; runOutput: Promise<string>; })
playground/ty/src/Editor/SecondaryPanel.tsx:139
FunctionSecondaryPanel
({ tool, result, files, onRun, theme, }: SecondaryPanelProps)
playground/ty/src/Editor/SecondaryPanel.tsx:24
FunctionSecondaryPanel
({ tool, result, theme, selectionOffset, onSourceByteRangeClicked, }: SecondaryPanelProps)
playground/ruff/src/Editor/SecondaryPanel.tsx:26
FunctionSecondarySideBar
({ selected, onSelected }: Props)
playground/ty/src/Editor/SecondarySideBar.tsx:10
FunctionSecondarySideBar
({ selected, onSelected, }: RightSideBarProps)
playground/ruff/src/Editor/SecondarySideBar.tsx:9
FunctionSettings
()
playground/shared/src/Icons.tsx:74
FunctionSettingsEditor
({ visible, source, theme, onChange, }: { visible: boolean; source: string; theme: Theme; onCh
playground/ruff/src/Editor/SettingsEditor.tsx:11
FunctionShareButton
({ onShare, onCopyMarkdownLink, onCopyMarkdown, onDownload, }: { onShare: () => Promise<void>; onC
playground/shared/src/ShareButton.tsx:17
FunctionShareMenuItem
({ className, ...props }: MenuItemProps)
playground/shared/src/ShareButton.tsx:131
FunctionSideBar
({ children, position }: SideBarProps)
playground/shared/src/SideBar.tsx:9
FunctionSideBarEntry
({ title, onClick, children, selected, position, }: SideBarEntryProps)
playground/shared/src/SideBar.tsx:31
FunctionSimplePyFn
( context: hl.GeneratorContext, buffer_input: Buffer[UInt8, 2], func_input: Buffer[Int32, 2],
crates/ruff_python_formatter/resources/test/fixtures/black/cases/funcdef_return_type_trailing_comma.py:134
FunctionSourceEditor
({ visible, source, theme, diagnostics, onChange, onMount, }: { visible: boolean; source: stri
playground/ruff/src/Editor/SourceEditor.tsx:33
FunctionStructure
()
playground/shared/src/Icons.tsx:91
FunctionSubDiagnosticItem
({ subDiagnostic, onGoTo, }: { subDiagnostic: SubDiagnostic; onGoTo(location: DiagnosticDetailLocation
playground/ty/src/Editor/Diagnostics.tsx:193
FunctionThemeButton
({ theme, onChange, }: { theme: Theme; onChange: (theme: Theme) => void; })
playground/shared/src/ThemeButton.tsx:7
FunctionToken
()
playground/shared/src/Icons.tsx:125
FunctionTooltip
({ children, position }: TooltipProps)
playground/shared/src/SideBar.tsx:62
FunctionVendoredFileBanner
({ currentVendoredFile, selectedFile, onBackToUserFile, }: Props)
playground/ty/src/Editor/VendoredFileBanner.tsx:10
FunctionVersionTag
({ children }: { children: ReactNode })
playground/shared/src/VersionTag.tsx:4
FunctionVerticalResizeHandle
()
playground/shared/src/ResizeHandle.tsx:9
Function_
(x)
crates/ruff_python_parser/resources/inline/ok/decorator_expression_identity_hack_py38.py:2
Function_
()
crates/ruff_python_parser/resources/inline/ok/nonlocal_declaration_at_module_level.py:1
Function_
()
crates/ruff_python_parser/resources/inline/err/nonlocal_stmt_expression.py:1
Function_
()
crates/ruff_python_parser/resources/inline/err/nonlocal_stmt_empty.py:1
Function_
()
crates/ruff_python_parser/resources/inline/err/nonlocal_stmt_trailing_comma.py:1
Function_
(x: T)
crates/ty_python_semantic/resources/corpus/cyclic_pep695_typevars_invalid_bound2.py:1
Function_
(x: A)
crates/ty_python_semantic/resources/corpus/cyclic_pep613_typevar.py:5
Function_
(x: Not[A])
crates/ty_python_semantic/resources/corpus/ty_extensions.py:22
Function_
()
crates/ty_python_semantic/resources/corpus/cyclic_pep695_typevars_invalid_bound.py:1
Function_
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB103_2.py:14
Function_
()
crates/ruff_linter/resources/test/fixtures/refurb/FURB122.py:8
← previousnext →14,501–14,600 of 31,562, ranked by callers