MCPcopy Create free account

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

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

MethodbadAllowed
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N804.py:18
MethodbadAllowed
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N802.py:10
MethodbadAllowed
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N805.py:7
MethodbadAllowed
(this, blah, /, self, something: str)
crates/ruff_linter/resources/test/fixtures/pep8_naming/ignore_names/N805.py:55
Methodbad_Name
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N802.py:65
Functionbad_char_literals
()
crates/ruff_annotate_snippets/tests/rustc_tests.rs:2568
Methodbad_class_method
(cls: type[_S], arg: int)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:14
Methodbad_class_method_with_mixed_annotations_1
(cls: "type[_S]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:196
Methodbad_class_method_with_positional_only_argument
(self, x, /, other)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:38
Methodbad_class_method_with_string_annotations
(cls: "type[_S]")
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:192
Functionbad_column_number_not_allowed
()
crates/mdtest/src/matcher.rs:1349
Functionbad_comparisons
this is not ok
crates/ruff_linter/resources/test/fixtures/pylint/misplaced_comparison_constant.py:16
Functionbad_decorated_function
Bad (E501) but decorated
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:508
Functionbad_dict
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF024.py:32
Functionbad_func
()
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S308.py:4
Functionbad_function
this docstring is not capitalized
crates/ruff_linter/resources/test/fixtures/pydocstyle/D403.py:1
Functionbad_google_string
Test a valid something
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:519
Methodbad_instance_method
(self: _S, arg: bytes)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:10
Methodbad_instance_method_with_string_annotations
(self: "_S", arg: str)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:189
Functionbad_liouiwnlkjl
Returns foo.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:9
Methodbad_method
This method docstring should be written in imperative mood.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:73
Methodbad_method
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:5
Methodbad_method
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:43
Methodbad_method
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N804.py:70
Methodbad_method
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:7
Methodbad_method
(self)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:48
Methodbad_method
(this)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:115
Methodbad_method_pos_only
(this, blah, /, something: str)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:63
Functionbad_nested_class
()
crates/ruff_linter/src/rules/pyflakes/mod.rs:1643
Methodbad_posonly_class_method
(cls: type[_S], /)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI019_0.py:18
Functionbad_run_something
Runs something
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:25
Functionbad_sdgfsdg23245
Constructor for a foo.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:13
Functionbad_sdgfsdg23245777
Constructor for a boa.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D401.py:17
Methodbad_staticmethod
(this)
crates/ruff_linter/resources/test/fixtures/flake8_self/SLF001_custom_decorators.py:18
Functionbad_that_needs_recursion
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY201.py:57
Functionbad_that_needs_recursion_2
()
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY201.py:66
Functionbad_underline_length
Toggle the gizmo. Returns -- A value of some sort.
crates/ruff_linter/resources/test/fixtures/pydocstyle/sections.py:107
Functionbad_version_info_comparison
PYI006, PYI066
crates/ruff_linter/src/rules/flake8_pyi/rules/bad_version_info_comparison.rs:118
Methodbadstatic
(foo)
crates/ruff_linter/resources/test/fixtures/pep8_naming/N805.py:93
Functionbah
(ham, spam,)
crates/ruff_linter/resources/test/fixtures/flake8_commas/COM81.py:489
Functionban_all_imports
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:108
Functionban_parent_imports
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:92
Functionban_parent_imports_package
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:124
Functionbanned_api
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:27
Functionbanned_api_package
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:62
Functionbanned_module_level_imports
()
crates/ruff_linter/src/rules/flake8_tidy_imports/mod.rs:141
Functionbar
()
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:33
Functionbar
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/stub_functions_trailing_comments.py:6
Functionbar
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/allow_empty_first_line.py:41
Functionbar
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_dict_values.py:79
Functionbar
()
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments9.py:125
Functionbar
f"{'.'.join(e)}
crates/ruff_python_formatter/resources/test/fixtures/black/cases/f_docstring.py:4
Functionbar
( a = 1 ,b : bool = False )
crates/ruff_python_formatter/resources/test/fixtures/black/cases/form_feeds.py:84
Functionbar
(x, y, z)
crates/ruff_python_parser/resources/inline/ok/non_duplicate_keyword_args.py:3
Functionbar
()
crates/ruff_python_parser/resources/inline/err/decorator_dict_literal_py38.py:3
Functionbar
()
crates/ruff_python_parser/resources/inline/err/decorator_float_literal_py38.py:3
Functionbar
()
crates/ruff_python_parser/resources/inline/err/decorator_named_expression_py37.py:3
Functionbar
(a: ann)
crates/ty_python_semantic/resources/corpus/25_func_annotations_scope.py:3
Functionbar
()
crates/ty_python_semantic/resources/corpus/31_func_nonlocal.py:4
Functionbar
(x: T)
crates/ty_python_semantic/resources/corpus/27_func_generic_constraint.py:4
Functionbar
()
crates/ty_python_semantic/resources/corpus/32_func_global_nested.py:3
Functionbar
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
Functionbar
(i: int)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/allow_overload.py:19
Functionbar
(_)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/suppress_dummy_args.py:25
Functionbar
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM105_0.py:75
Functionbar
()
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM105_3.py:8
Functionbar
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI009.py:1
Functionbar
(x)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI066.py:9
Functionbar
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI021.py:12
Functionbar
()
crates/ruff_linter/resources/test/fixtures/ruff/RUF059_3.py:11
Functionbar
()
crates/ruff_linter/resources/test/fixtures/pycodestyle/E204.py:10
Functionbar
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC210.py:59
Functionbar
()
crates/ruff_linter/resources/test/fixtures/flake8_async/ASYNC230.py:52
Functionbar
()
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S113.py:38
Functionbar
Do something
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_google.py:104
Functionbar
Do something
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_numpy.py:136
Functionbar
Bar-y method
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_numpy.py:193
Functionbar
()
crates/ruff_linter/resources/test/fixtures/pylint/empty_comment.py:22
Functionbar
This one also has a docstring
crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_8.py:5
Functionbar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_16.py:6
Functionbar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F823.py:9
Functionbar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_0.py:6
Functionbar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F822_2.py:6
Functionbar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_35.py:12
Functionbar
()
crates/ruff_linter/resources/test/fixtures/pyflakes/F811_17.py:5
Methodbar
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_newline_after_code_block_open.py:31
Methodbar
(a=b.c, *, b=c.d)
crates/ty_python_semantic/resources/corpus/81_func_kwonlyargs_defaults.py:3
Methodbar
(self)
crates/ty_python_semantic/resources/corpus/72_class_mix.py:11
Methodbar
Returns the bar.
crates/ruff_linter/resources/test/fixtures/pydocstyle/D421.py:10
Methodbar
(cls)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/shadowed_builtins.py:20
Methodbar
(i)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/allow_overload.py:29
Methodbar
(self, arg1, arg2)
crates/ruff_linter/resources/test/fixtures/ruff/suppressions.py:167
Methodbar
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF074.py:223
Methodbar
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E204.py:21
Methodbar
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC201_google.py:43
Methodbar
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC202_numpy.py:53
Methodbar
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC403_numpy.py:53
Methodbar
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC202_google.py:43
Methodbar
Do something Args: num (int): A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_google.py:43
Methodbar
Do something Parameters ---------- num : int A number
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC402_numpy.py:53
← previousnext →16,101–16,200 of 31,562, ranked by callers