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
Method
badAllowed
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N804.py:18
Method
badAllowed
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N802.py:10
Method
badAllowed
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N805.py:7
Method
badAllowed
(this, blah, /, self, something: str)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N805.py:55
Method
bad_Name
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N802.py:65
Function
bad_char_literals
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2568
Method
bad_class_method
(cls: type[_S], arg: int)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:14
Method
bad_class_method_with_mixed_annotations_1
(cls: "type[_S]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:196
Method
bad_class_method_with_positional_only_argument
(self, x, /, other)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:38
Method
bad_class_method_with_string_annotations
(cls: "type[_S]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:192
Function
bad_column_number_not_allowed
()
crates/mdtest/src/matcher.rs:1349
Function
bad_comparisons
this is not ok
crates/ruff_linter/resources/test/fixtures/pylint/misplaced_comparison_constant.py:16
Function
bad_decorated_function
Bad (E501) but decorated
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:508
Function
bad_dict
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF024.py:32
Function
bad_func
()
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S308.py:4
Function
bad_function
this docstring is not capitalized
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:1
Function
bad_google_string
Test a valid something
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:519
Method
bad_instance_method
(self: _S, arg: bytes)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:10
Method
bad_instance_method_with_string_annotations
(self: "_S", arg: str)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:189
Function
bad_liouiwnlkjl
Returns foo.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:9
Method
bad_method
This method docstring should be written in imperative mood.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:73
Method
bad_method
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:5
Method
bad_method
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:43
Method
bad_method
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:70
Method
bad_method
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:7
Method
bad_method
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:48
Method
bad_method
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:115
Method
bad_method_pos_only
(this, blah, /, something: str)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:63
Function
bad_nested_class
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1643
Method
bad_posonly_class_method
(cls: type[_S], /)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:18
Function
bad_run_something
Runs something
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:25
Function
bad_sdgfsdg23245
Constructor for a foo.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:13
Function
bad_sdgfsdg23245777
Constructor for a boa.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:17
Method
bad_staticmethod
(this)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_custom_decorators.py:18
Function
bad_that_needs_recursion
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY201.py:57
Function
bad_that_needs_recursion_2
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY201.py:66
Function
bad_underline_length
Toggle the gizmo. Returns -- A value of some sort.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:107
Function
bad_version_info_comparison
PYI006, PYI066
crates/ruff_linter/src/rules/flake8_pyi/rules/bad_version_info_comparison.rs:118
Method
badstatic
(foo)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:93
Function
bah
(ham, spam,)
crates/ruff_linter/resources/test/fixtures/flake8_commas/COM81.py:489
Function
ban_all_imports
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:108
Function
ban_parent_imports
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:92
Function
ban_parent_imports_package
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:124
Function
banned_api
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:27
Function
banned_api_package
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:62
Function
banned_module_level_imports
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:141
Function
bar
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:33
Function
bar
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/stub_functions_trailing_comments.py:6
Function
bar
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/allow_empty_first_line.py:41
Function
bar
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_dict_values.py:79
Function
bar
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments9.py:125
Function
bar
f"{'.'.join(e)}
crates/ruff_python_formatter/resources/test/fixtures/black/cases/f_docstring.py:4
Function
bar
(a=1,b:bool=False)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/form_feeds.py:84
Function
bar
(x, y, z)
crates/ruff_python_parser/resources/inline/ok/non_duplicate_keyword_args.py:3
Function
bar
()
crates/ruff_python_parser/resources/inline/err/decorator_dict_literal_py38.py:3
Function
bar
()
crates/ruff_python_parser/resources/inline/err/decorator_float_literal_py38.py:3
Function
bar
()
crates/ruff_python_parser/resources/inline/err/decorator_named_expression_py37.py:3
Function
bar
(a: ann)
crates/ty_python_semantic/resources/corpus/25_func_annotations_scope.py:3
Function
bar
()
crates/ty_python_semantic/resources/corpus/31_func_nonlocal.py:4
Function
bar
(x: T)
crates/ty_python_semantic/resources/corpus/27_func_generic_constraint.py:4
Function
bar
()
crates/ty_python_semantic/resources/corpus/32_func_global_nested.py:3
Function
bar
Nested function test for docstrings. Will this work when referencing x? Args: x: Test something that is broken.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:292
Function
bar
(i: int)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/allow_overload.py:19
Function
bar
(_)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/suppress_dummy_args.py:25
Function
bar
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM105_0.py:75
Function
bar
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM105_3.py:8
Function
bar
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI009.py:1
Function
bar
(x)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI066.py:9
Function
bar
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI021.py:12
Function
bar
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_3.py:11
Function
bar
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E204.py:10
Function
bar
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC210.py:59
Function
bar
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC230.py:52
Function
bar
()
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S113.py:38
Function
bar
Do something
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_google.py:104
Function
bar
Do something
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_numpy.py:136
Function
bar
Bar-y method
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:193
Function
bar
()
crates/ruff_linter/resources/test/fixtures/pylint/empty_comment.py:22
Function
bar
This one also has a docstring
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_8.py:5
Function
bar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_16.py:6
Function
bar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F823.py:9
Function
bar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_0.py:6
Function
bar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F822_2.py:6
Function
bar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_35.py:12
Function
bar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_17.py:5
Method
bar
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_newline_after_code_block_open.py:31
Method
bar
(a=b.c, *, b=c.d)
crates/ty_python_semantic/resources/corpus/81_func_kwonlyargs_defaults.py:3
Method
bar
(self)
crates/ty_python_semantic/resources/corpus/72_class_mix.py:11
Method
bar
Returns the bar.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D421.py:10
Method
bar
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/shadowed_builtins.py:20
Method
bar
(i)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/allow_overload.py:29
Method
bar
(self, arg1, arg2)
crates/ruff_linter/resources/test/fixtures/ruff/suppressions.py:167
Method
bar
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:223
Method
bar
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E204.py:21
Method
bar
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_google.py:43
Method
bar
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC202_numpy.py:53
Method
bar
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC403_numpy.py:53
Method
bar
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC202_google.py:43
Method
bar
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_google.py:43
Method
bar
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_numpy.py:53
← previous
next →
16,101–16,200 of 31,562, ranked by callers