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
cells_after_cell_magic
()
crates/ty_server/tests/e2e/notebook.rs:666
Function
cells_module_range_spans_source
()
crates/ruff_python_parser/src/parser/tests.rs:351
Function
chained_hierarchy
()
crates/ty_server/tests/e2e/type_hierarchy.rs:77
Method
change
(self)
scripts/conformance.py:282
Function
change_python_version_and_platform
()
crates/ty/tests/file_watching.rs:1895
Method
change_text_document
( &mut self, path: impl AsRef<Path>, changes: Vec<TextDocumentContentChangeEvent>,
crates/ruff_server/tests/e2e/main.rs:720
Method
change_workspace_folders
( &mut self, added: impl IntoIterator<Item = P>, removed: impl IntoIterator<Item = P>,
crates/ruff_server/tests/e2e/main.rs:759
Function
changed
()
crates/ruff_python_literal/src/escape.rs:666
Function
changed_dependencies_wait_for_reopen_in_open_files_only
()
crates/ty_server/tests/e2e/script_preparation.rs:337
Function
changed_file
()
crates/ty/tests/file_watching.rs:1062
Function
changed_metadata
()
crates/ty/tests/file_watching.rs:2460
Function
changed_script_metadata_updates_import_resolution
()
crates/ty_project/src/db.rs:1033
Function
changed_versions_file
()
crates/ty/tests/file_watching.rs:2275
Function
changes_to_config_file_override
()
crates/ty/tests/file_watching.rs:3078
Function
changes_to_user_configuration
()
crates/ty/tests/file_watching.rs:2935
Function
changing_a_name_use_keeps_an_imported_declaration_cached
()
crates/ty_python_semantic/src/types/infer/tests.rs:1160
Function
changing_language_of_file_without_extension
()
crates/ty_server/tests/e2e/publish_diagnostics.rs:877
Function
char_and_nl_annotate_char
()
crates/ruff_annotate_snippets/tests/formatter.rs:682
Function
char_boundary
()
crates/ruff_linter/src/rules/flake8_copyright/mod.rs:338
Function
char_eol_annotate_char
()
crates/ruff_annotate_snippets/tests/formatter.rs:718
Function
char_eol_annotate_char_double_width
()
crates/ruff_annotate_snippets/tests/formatter.rs:749
Function
character_10000
(b: &mut Bencher)
crates/ruff_unicode_names2/src/lib.rs:636
Function
character_basic
(b: &mut Bencher)
crates/ruff_unicode_names2/src/lib.rs:593
Function
character_cjk_unified_ideograph
()
crates/ruff_unicode_names2/src/lib.rs:560
Function
character_hangul_syllable
()
crates/ruff_unicode_names2/src/lib.rs:509
Function
character_negative
()
crates/ruff_unicode_names2/src/lib.rs:483
Method
check
Checks the project and its dependencies according to the project's check mode.
crates/ty_project/src/lib.rs:522
Method
check
( db: &'db dyn Db, env: &ProgramEnvironment<'db>, inferable: TypeVarSet<'db>,
crates/ty_python_semantic/src/types/constraints/resolution.rs:137
Method
check_annotation
(stmt: &ast::Stmt, ctx: &Ctx)
crates/ruff_python_parser/src/semantic_errors.rs:378
Function
check_body
(some_args)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:274
Function
check_body_correct
(some_args)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY004.py:279
Function
check_bom_only_file
()
crates/ruff/tests/cli/format.rs:877
Method
check_class_body_expr
(expr: &Expr, ctx: &Ctx)
crates/ruff_python_parser/src/semantic_errors.rs:1288
Function
check_code_serialization
()
crates/ruff_linter/src/registry.rs:539
Method
check_command
(&self)
crates/ruff/tests/cli/lint.rs:18
Function
check_default_files
()
crates/ruff/tests/integration_test.rs:163
Function
check_default_mode_shows_diagnostics_and_summary
()
crates/ruff/tests/cli/format.rs:852
Function
check_docstring_conventions_overrides
()
crates/ruff/tests/integration_test.rs:2503
Function
check_existing_at_paths_are_literal
()
crates/ruff/tests/integration_test.rs:1873
Function
check_extend_safe_fixes
()
crates/ruff/tests/integration_test.rs:2353
Function
check_extend_unsafe_fixes
()
crates/ruff/tests/integration_test.rs:2309
Function
check_extend_unsafe_fixes_conflict_with_extend_safe_fixes
()
crates/ruff/tests/integration_test.rs:2395
Function
check_extend_unsafe_fixes_conflict_with_extend_safe_fixes_by_specificity
()
crates/ruff/tests/integration_test.rs:2440
Function
check_fader
(test)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff2.py:21
Method
check_file
(&self, file: File)
crates/ty_test/src/db.rs:146
Method
check_file
(&self, file: File)
crates/ty_python_semantic/tests/corpus.rs:214
Method
check_file
(&self, file: File)
fuzz/fuzz_targets/ty_check_invalid_syntax.rs:114
Function
check_file_skips_type_checking_when_file_cant_be_read
()
crates/ty_project/src/lib.rs:1211
Function
check_file_without_extension
()
crates/ty/tests/cli/main.rs:577
Function
check_file_without_extension_in_subfolder
()
crates/ty/tests/cli/main.rs:602
Method
check_generator_clauses
( generators: &[ast::Comprehension], ctx: &Ctx, )
crates/ruff_python_parser/src/semantic_errors.rs:1217
Method
check_generator_expr
Add a [`SemanticSyntaxErrorKind::ReboundComprehensionVariable`] if `expr` rebinds an iteration variable in `generators`.
crates/ruff_python_parser/src/semantic_errors.rs:1203
Function
check_hardcoded_tmp_additional_dirs
()
crates/ruff_linter/src/rules/flake8_bandit/mod.rs:121
Function
check_hints_unsafe_fixes
()
crates/ruff/tests/integration_test.rs:1943
Function
check_hints_unsafe_fixes_with_no_safe_fixes
()
crates/ruff/tests/integration_test.rs:1973
Method
check_identifier
Check if `ident` is equal to `__debug__` and emit a [`SemanticSyntaxErrorKind::WriteToDebug`] if so.
crates/ruff_python_parser/src/semantic_errors.rs:692
Function
check_in_deleted_directory_errors
()
crates/ruff/tests/direxist_guard.rs:15
Function
check_input_from_argfile
()
crates/ruff/tests/integration_test.rs:1825
Function
check_inside_functions_too
()
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B023.py:27
Method
check_lazy_import_context
( ctx: &Ctx, range: TextRange, kind: LazyImportKind, )
crates/ruff_python_parser/src/semantic_errors.rs:63
Function
check_marks_unsafe_fixes_as_fixable_with_opt_in
()
crates/ruff/tests/integration_test.rs:2052
Function
check_no_hint_for_unsafe_fixes_when_disabled
()
crates/ruff/tests/integration_test.rs:1997
Function
check_no_hint_for_unsafe_fixes_with_no_safe_fixes_when_disabled
()
crates/ruff/tests/integration_test.rs:2027
Function
check_non_existing_path
()
crates/ty/tests/cli/main.rs:546
Function
check_project_from_project_subdirectory_respects_includes
()
crates/ruff/tests/resolve_files.rs:87
Function
check_project_include_defaults
()
crates/ruff/tests/resolve_files.rs:19
Function
check_project_respects_direct_paths
()
crates/ruff/tests/resolve_files.rs:49
Function
check_project_respects_subdirectory_includes
()
crates/ruff/tests/resolve_files.rs:68
Function
check_quiet_mode_shows_diagnostics_only
()
crates/ruff/tests/cli/format.rs:828
Method
check_rebound_variables
( expr: &Expr, targets: FxHashSet<&'a ast::name::Name>, direct_targets: FxHashSet<&'a
crates/ruff_python_parser/src/semantic_errors.rs:1251
Function
check_silent_mode_no_output
()
crates/ruff/tests/cli/format.rs:812
Function
check_specific_paths
()
crates/ty/tests/cli/main.rs:452
Method
check_terms
(_terms: usize)
crates/ty_python_semantic/src/types/set_theoretic/builder.rs:1525
Function
check_type
Check if the type checker accepts the given binding with the given name. NOTE: this function doesn't perform more serious type inference, so it won't
crates/ruff_python_semantic/src/analyze/typing.rs:643
Function
check_typed_exception
()
crates/ruff_linter/src/rules/flake8_bandit/mod.rs:142
Function
check_venv_resolution_with_working_venv
()
crates/ty/tests/cli/python_environment.rs:1407
Function
check_venv_resolution_without_working_venv
()
crates/ty/tests/cli/python_environment.rs:1667
Function
check_warn_stdin_filename_with_files
()
crates/ruff/tests/integration_test.rs:215
Method
checked_add
(self, rhs: Self)
crates/ruff_source_file/src/line_index.rs:630
Function
checked_math
()
crates/ruff_text_size/tests/main.rs:28
Method
checkpoint
(&self)
crates/ruff_python_parser/src/lexer/interpolated_string.rs:147
Method
checkpoint
(&self)
crates/ruff_python_parser/src/lexer/indentation.rs:130
Function
checks_notebooks_in_stable
()
crates/ruff/tests/cli/lint.rs:3469
Function
checks_use_available_script_environment_without_running_uv
()
crates/ty_project/src/db.rs:974
Method
chicken
(self)
crates/ty_completion_eval/truth/object-attr-instance-methods/main.py:6
Method
children
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF066.py:69
Function
circular_extend
()
crates/ruff/tests/cli/lint.rs:767
Function
cjk_unified_ideograph_exhaustive
()
crates/ruff_unicode_names2/src/lib.rs:517
Function
class
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:390
Function
class_assignment
(x)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET504.py:286
Function
class_attribute_docstring_classification
()
crates/ty_ide/src/semantic_tokens.rs:3890
Function
class_attributes1
()
crates/ty_ide/src/completion.rs:5184
Function
class_base_already_specified
()
crates/ty_ide/src/completion.rs:4644
Function
class_base_excludes_class_being_defined
()
crates/ty_ide/src/completion.rs:4594
Function
class_base_excludes_class_being_defined_with_typed_text
()
crates/ty_ide/src/completion.rs:4609
Function
class_base_includes_prior_definition_with_same_name
()
crates/ty_ide/src/completion.rs:4624
Function
class_base_qualified_already_specified
()
crates/ty_ide/src/completion.rs:4729
Function
class_base_qualified_attribute_not_filtered
()
crates/ty_ide/src/completion.rs:4767
Function
class_base_same_name_different_module
()
crates/ty_ide/src/completion.rs:4684
Method
class_based_items
(db: &'db dyn Db, class: ClassType<'db>)
crates/ty_python_semantic/src/types/typed_dict.rs:545
← previous
next →
16,801–16,900 of 31,766, ranked by callers