MCPcopy Create free account

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

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

Functionfa102
(path: &Path)
crates/ruff_linter/src/rules/flake8_future_annotations/mod.rs:46
Functionfail
()
crates/ruff_linter/resources/test/fixtures/pylint/yield_from_in_async_function.py:5
Functionfail_1a
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:38
Functionfail_1b
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:42
Functionfail_2
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:46
Functionfail_3
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:51
Functionfail_4a
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:58
Functionfail_4b
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:63
Functionfail_4c
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:70
Functionfail_list
(seq)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:193
Functionfail_map
(mapping)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:184
Functionfail_nested_for_else
(some_list, other)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:230
Functionfail_nested_raise_bypasses_else
(outer, inner)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:298
Functionfail_nested_return_bypasses_else
(outer, inner)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:288
Functionfail_nested_while_else
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:241
Functionfail_try_else
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:258
Functionfail_try_except
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:250
Functionfail_try_finally
(some_list)
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B909.py:268
Functionfailed_uv_script_synchronization_reports_an_error
()
crates/ty/tests/cli/scripts.rs:2170
Methodfailing_func
(self)
crates/ruff_linter/resources/test/fixtures/pyflakes/F821_5.py:13
Functionfakehttp
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/newlines.py:231
Methodfallback_ancestors
Return the ancestors used for lookup when this class has an invalid MRO.
crates/ty_python_semantic/src/types/mro.rs:797
Functionfallback_enumeration_for_cpython_excludes_pypy_directories
()
crates/ty_site_packages/src/lib.rs:3690
Functionfallback_enumeration_for_pypy_excludes_cpython_directories
()
crates/ty_site_packages/src/lib.rs:3732
Methodfallback_from_bases
Retain the first specialization of each class when C3 cannot determine a valid MRO. Visit the bases' MROs in order, but defer `object` until every ot
crates/ty_python_semantic/src/types/mro.rs:534
Methodfallible
Creates a new database, returning an error if the project metadata is misconfigured.
crates/ty_project/src/db.rs:119
Functionfalls_back_to_a_workspace_watch_after_registration_fails
()
crates/ty_server/tests/e2e/file_watching.rs:463
Functionfalse_positive_section_prefix
Toggle the gizmo. Parameters ---------- attributes_are_fun: attributes for the function.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:234
Functionfastapi_route
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF029.py:91
Functionfavour_imported_over_builtin
()
crates/ty_ide/src/completion.rs:9867
Functionfavour_symbols_currently_imported
()
crates/ty_ide/src/completion.rs:9847
Functionfence_spanning_formatted_values
()
crates/ty_ide/src/markup.rs:114
Functionfetch_bigtable_rows
Fetches rows from a Bigtable. Retrieves rows pertaining to the given keys from the Table instance represented by big_table. Silly things may
crates/ruff_linter/resources/test/fixtures/pydocstyle/canonical_google_examples.py:47
Functionfetch_name
Fetch name from --person-name in sys.argv. Returns: name of the person if available, otherwise None
crates/ruff_linter/resources/test/fixtures/pycodestyle/E21.py:17
Functionfibo
(n)
crates/ruff_linter/resources/test/fixtures/flake8_return/RET505.py:106
Functionfield_list_ranges
(docstring: &str, field_lists: &[FieldList])
crates/ty_ide/src/docstring/document/rst.rs:1182
Functionfield_lists_in_block_quotes_remain_raw
()
crates/ty_ide/src/docstring/markdown/structured/rst.rs:798
Functionfield_specifier_default_value_invalidates_caller
()
crates/ty_python_semantic/src/types/infer/tests.rs:1551
Methodfile
(self, db: &dyn Db)
crates/ty_module_resolver/src/module_name.rs:510
Methodfile
Resolves the file containing this setting, if its source is file-backed.
crates/ruff_ranged_value/src/lib.rs:48
Methodfile
(self, db: &'db dyn Db)
crates/ty_python_core/src/expression.rs:171
Methodfile
(self, db: &'db dyn Db)
crates/ty_python_core/src/unpack.rs:61
Methodfile
(self, db: &'db dyn Db)
crates/ty_python_core/src/statement.rs:60
Methodfile
(self, db: &'db dyn Db)
crates/ty_python_core/src/predicate.rs:329
Functionfile_changes_invalidate_file_cache
()
crates/ruff/src/cache.rs:960
Methodfile_content_changed
Creates a new [`Changed`] event for the file content at the given path. [`Changed`]: ChangeEvent::Changed
crates/ty_project/src/watch.rs:70
Functionfile_ignore_single_code
()
crates/ruff_linter/src/suppression.rs:2847
Functionfile_ignore_suppression_indented
()
crates/ruff_linter/src/suppression.rs:2630
Functionfile_ignore_suppression_multiple
()
crates/ruff_linter/src/suppression.rs:2539
Functionfile_ignore_suppression_single
()
crates/ruff_linter/src/suppression.rs:2506
Functionfile_ignore_suppression_trailing
()
crates/ruff_linter/src/suppression.rs:2601
Functionfile_level
()
crates/ruff_db/src/diagnostic/render/full.rs:760
Functionfile_level_suppression
()
crates/ruff_linter/src/suppression.rs:1443
Methodfile_module
( db: &'db dyn Db, file: File, resolver_environment: ResolverEnvironment<'db>,
crates/ty_module_resolver/src/module.rs:28
Functionfile_module_locations_exclude_shadowed_namespaces
()
crates/ty_module_resolver/src/resolve.rs:1980
Methodfile_path
(&self)
crates/ty_python_semantic/src/semantic_model.rs:90
Functionfile_renames_use_the_source_workspace_setting
()
crates/ty_server/tests/e2e/will_rename_files.rs:314
Functionfile_to_module_where_one_search_path_is_subdirectory_of_other
()
crates/ty_module_resolver/src/resolve.rs:3537
Functionfile_to_module_where_one_search_path_is_subdirectory_of_other
()
crates/ty_module_resolver/src/list.rs:1273
Methodfile_type
(&self)
crates/ruff_db/src/vendored.rs:341
Methodfiles
(&self)
crates/ruff_graph/src/db.rs:73
Methodfiles
(&self)
crates/ty_python_core/src/db.rs:107
Methodfiles
(&self)
crates/ty_python_semantic/src/db.rs:154
Methodfiles
(&self)
crates/ty_python_semantic/tests/corpus.rs:190
Methodfiles
(&self)
fuzz/fuzz_targets/ty_check_invalid_syntax.rs:87
FunctionfilesReducer
( state: Readonly<FilesState>, action: FileAction, )
playground/ty/src/Playground.tsx:458
Functionfiles_with_lang_text_can_have_any_paths
()
crates/mdtest/src/parser.rs:1794
Functionfiles_with_no_extension_can_have_any_lang
()
crates/mdtest/src/parser.rs:1769
Functionfilesystem_debug_implementation
()
crates/ruff_db/src/vendored.rs:542
Functionfilesystem_debug_implementation_alternate
()
crates/ruff_db/src/vendored.rs:550
Functionfilter_data
(filename)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S202.py:30
Functionfilter_fully_trusted
(filename)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S202.py:36
Functionfilter_tar
(filename)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S202.py:42
Functionfilters_unknown_module_owners_without_parent_fallback
()
crates/ty_project/src/uv/metadata/dependencies.rs:563
Functionfinally
()
crates/ruff_linter/src/rules/mccabe/rules/function_is_too_complex.rs:426
Methodfind
(&self, banned_modules: impl Iterator<Item = &'a str>)
crates/ruff_linter/src/rules/flake8_tidy_imports/matchers.rs:58
Functionfind_and_parse_pyproject_toml
()
crates/ruff_workspace/src/pyproject.rs:527
Methodfind_best_position_encoding
(client_capabilities: &ClientCapabilities)
crates/ty_server/src/server.rs:195
Methodfind_best_position_encoding
(client_capabilities: &ClientCapabilities)
crates/ruff_server/src/server.rs:142
Functionfind_command
(case: &CliTest)
crates/ty/tests/cli/server.rs:237
Functionfind_does_not_fall_back_from_configured_environment
()
crates/ty/tests/cli/server.rs:85
Functionfind_does_not_fall_back_to_path_or_own_executable
()
crates/ty/tests/self_environment.rs:360
Functionfind_follows_symlinks
()
crates/ty/tests/cli/server.rs:170
Methodfind_legacy_typevars_impl
( &self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Opti
crates/ty_python_semantic/src/types/signatures.rs:450
Methodfind_legacy_typevars_impl
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Optio
crates/ty_python_semantic/src/types/protocol_class.rs:1029
Methodfind_legacy_typevars_impl
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Optio
crates/ty_python_semantic/src/types/instance.rs:506
Methodfind_legacy_typevars_impl
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Optio
crates/ty_python_semantic/src/types/generics.rs:1708
Methodfind_legacy_typevars_impl
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Optio
crates/ty_python_semantic/src/types/subclass_of.rs:241
Methodfind_legacy_typevars_impl
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Optio
crates/ty_python_semantic/src/types/class.rs:490
Methodfind_legacy_typevars_impl
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Optio
crates/ty_python_semantic/src/types/tuple.rs:325
Methodfind_legacy_typevars_impl
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Optio
crates/ty_python_semantic/src/types/function.rs:2093
Methodfind_legacy_typevars_impl
( self, db: &'db dyn Db, env: &ProgramEnvironment<'db>, binding_context: Optio
crates/ty_python_semantic/src/types/callable.rs:1087
Functionfind_max_value
Finds the maximum value in a list of numbers. Args: numbers (list of int): A list of integers to search through. Returns:
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_google.py:32
Functionfind_max_value
Finds the maximum value in a list of numbers. Parameters ---------- numbers : list of int A list of integers to search throu
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:42
Functionfind_next_stmt_break
()
crates/ruff_linter/src/fix/edits.rs:744
Functionfind_python_files
()
crates/ruff_workspace/src/resolver.rs:1052
Functionfind_rejects_broken_symlink
()
crates/ty/tests/cli/server.rs:207
Functionfind_rejects_directory
()
crates/ty/tests/cli/server.rs:153
Functionfind_rejects_non_executable_file
()
crates/ty/tests/cli/server.rs:189
Functionfind_rejects_wrong_layout
()
crates/ty/tests/cli/server.rs:132
← previousnext →19,301–19,400 of 31,766, ranked by callers