Functionf11(
a,
# positional only comment, leading
/, # positional only comment, trailing
b,
)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:149
Functionf12(
a=1,
# positional only comment, leading
/, # positional only comment, trailing
b=2,
)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:157
Functionf153(
x: list[
int
] = [ # OK
1,
2,
3,
4,
5,
6,
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:43
Functionf153(
x=[ # OK
1,
2,
3,
4,
5,
6,
7,
8,
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI014.py:55
Functionf154(
x: tuple[
str, tuple[str, ...]
] = ( # OK
"foo",
("bar", "baz"),
)
)
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI011.py:60
Functionf21(
a=1,
# keyword only comment, leading
*, # keyword only comment, trailing
b=2,
)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:172
Functionf22(
a,
# keyword only comment, leading
*, # keyword only comment, trailing
b,
)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:180
Functionf23(
a,
# keyword only comment, leading
*args, # keyword only comment, trailing
b,
)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/function.py:188