MCPcopy Create free account

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

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

Method__init__
(self, *, path: Path | None = None)
scripts/ty_benchmark/src/benchmark/tool.py:219
Method__init__
(self, *, path: Path | None = None)
scripts/ty_benchmark/src/benchmark/tool.py:280
Method__init__
(self, *, path: Path | None = None)
scripts/ty_benchmark/src/benchmark/tool.py:329
Method__init__
(self, secret_value: SecretType)
crates/ruff_benchmark/resources/pydantic/types.py:417
Method__init__
( self, field_type: Type[SecretField[SecretType]], min_length: int | None = None, max_length: int | No
crates/ruff_benchmark/resources/pydantic/types.py:507
Method__init__
(self, card_number: str)
crates/ruff_benchmark/resources/pydantic/types.py:581
Method__init__
(self)
crates/ruff_benchmark/resources/tomllib/_parser.py:144
Method__init__
(self)
crates/ruff_benchmark/resources/tomllib/_parser.py:194
Method__init__
(self)
crates/ty_completion_eval/truth/object-attr-instance-methods/main.py:2
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:104
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:113
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:121
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring.py:130
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:2
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:6
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:21
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:25
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/top_level.py:30
Method__init__
( self)
crates/ruff_python_formatter/resources/test/fixtures/ruff/range_formatting/clause_header.py:12
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments.py:70
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:8
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:12
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:16
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:21
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:25
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:30
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:36
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:44
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:57
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:63
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:70
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:76
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:83
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:91
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_methods_new_line.py:99
Method__init__
(self)
crates/ruff_python_formatter/resources/test/fixtures/black/cases/form_feeds.py:92
Method__init__
(self, *args, **kwargs)
crates/ruff_server/resources/test/fixtures/pandas_html.py:595
Method__init__
(self, ast: dict[str, Any])
crates/ruff_python_ast/generate.py:127
Method__init__
(self, group_name: str, group: dict[str, Any])
crates/ruff_python_ast/generate.py:150
Method__init__
(self, group: Group, node_name: str, node: dict[str, Any])
crates/ruff_python_ast/generate.py:175
Method__init__
(self, field: dict[str, Any])
crates/ruff_python_ast/generate.py:219
Method__init__
(self, rule: str)
crates/ruff_python_ast/generate.py:291
Method__init__
(self)
crates/ruff_python_parser/resources/valid/statement/class.py:6
Method__init__
( self, filters: list[str] | None, enable_external: bool, upgrade_lockfiles: b
crates/ty_python_semantic/mdtest.py:74
Method__init__
(self, x: int)
crates/ty_python_semantic/resources/corpus/cyclic_implicit_attr_union.py:4
Method__init__
(self)
crates/ty_python_semantic/resources/corpus/74_class_super_nested.py:5
Method__init__
(self)
crates/ty_python_semantic/resources/corpus/78_class_dec_member_func.py:3
Method__init__
(self)
crates/ty_python_semantic/resources/corpus/74_class_super.py:3
Method__init__
(self, app: AppT)
crates/ty_python_semantic/resources/corpus/recursive_bound_method_source_order.py:27
Method__init__
(self, cwd: Path)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC002.py:92
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/TC002.py:97
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_boolean_trap/FBT.py:81
Method__init__
(self=None)
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:60
Method__init__
(self, x)
crates/ruff_linter/resources/test/fixtures/pydocstyle/D.py:534
Method__init__
Inits SampleClass with blah.
crates/ruff_linter/resources/test/fixtures/pydocstyle/canonical_google_examples.py:100
Method__init__
(self, name: str)
crates/ruff_linter/resources/test/fixtures/isort/lines_after_imports_class_after.py:12
Method__init__
(self, name: str)
crates/ruff_linter/resources/test/fixtures/flake8_logging_format/G004.py:54
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_builtins/A003.py:6
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/simple_magic_methods.py:14
Method__init__
(self: "Foo", foo: int)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/annotation_presence.py:159
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/annotation_presence.py:165
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_annotations/mypy_init_return.py:5
Method__init__
(self, filename: str)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM115.py:53
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM910.py:68
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM401.py:123
Method__init__
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI013.py:38
Method__init__
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI013.py:62
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI059.py:9
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI059.py:50
Method__init__
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI012.py:36
Method__init__
()
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI012.py:67
Method__init__
(self, message, **kwargs)
crates/ruff_linter/resources/test/fixtures/airflow/AIR301_decorator.py:8
Method__init__
(self, my_id: int)
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:192
Method__init__
(self, thing_id: int)
crates/ruff_linter/resources/test/fixtures/fastapi/FAST003.py:327
Method__init__
(self, *, default)
crates/ruff_linter/resources/test/fixtures/ruff/RUF009_attrs.py:57
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/ruff/RUF052_0.py:63
Method__init__
(self, *, default)
crates/ruff_linter/resources/test/fixtures/ruff/RUF009.py:53
Method__init__
(self, value: float | int | str)
crates/ruff_linter/resources/test/fixtures/ruff/RUF032.py:65
Method__init__
(self, value: float | int | str)
crates/ruff_linter/resources/test/fixtures/ruff/RUF032.py:109
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pycodestyle/E30.py:17
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_pytest_style/is_pytest_test.py:16
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/flake8_bandit/S602.py:28
Method__init__
(self, *args, **kwargs)
crates/ruff_linter/resources/test/fixtures/flake8_django/DJ012.py:153
Method__init__
Initializes the calculator with an initial value. Args: value (int, optional): The initial value of the calculator. Defa
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_google.py:145
Method__init__
Initializes the calculator with an initial value. Parameters ---------- value : int, optional The initia
crates/ruff_linter/resources/test/fixtures/pydoclint/DOC102_numpy.py:191
Method__init__
(self, x)
crates/ruff_linter/resources/test/fixtures/flake8_unused_arguments/ARG.py:216
Method__init__
(self, arg)
crates/ruff_linter/resources/test/fixtures/tryceratops/TRY003.py:28
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/if_stmt_min_max.py:85
Method__init__
(self, value)
crates/ruff_linter/resources/test/fixtures/pylint/if_stmt_min_max.py:100
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/yield_in_init.py:8
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/yield_in_init.py:13
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/useless_exception_statement.py:55
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/no_self_use.py:26
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/return_in_init.py:8
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/return_in_init.py:13
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/return_in_init.py:21
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/return_in_init.py:27
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/return_in_init.py:34
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/return_in_init.py:40
Method__init__
(self)
crates/ruff_linter/resources/test/fixtures/pylint/missing_maxsplit_arg.py:166
← previousnext →14,901–15,000 of 31,562, ranked by callers