Skip to content

Commit c4a3452

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6c227d1 commit c4a3452

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

astroid/nodes/node_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ def arguments(self):
785785
(self.posonlyargs or ()),
786786
(self.args or ()),
787787
(self.kwonlyargs or ()),
788-
[self.vararg, self.kwarg]
788+
[self.vararg, self.kwarg],
789789
)
790790
)
791791

tests/test_nodes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
Uninferable,
2323
bases,
2424
builder,
25+
extract_node,
2526
nodes,
2627
parse,
2728
test_utils,
2829
transforms,
2930
util,
30-
extract_node,
3131
)
3232
from astroid.const import PY310_PLUS, PY312_PLUS, Context
3333
from astroid.context import InferenceContext
@@ -1948,6 +1948,7 @@ def test_str_repr_no_warnings(node):
19481948

19491949
def test_arguments_contains_all():
19501950
"""Ensure Arguments.arguments actually returns all available arguments"""
1951+
19511952
def manually_get_args(arg_node) -> set:
19521953
return_args = {arg_node.args.vararg, arg_node.args.kwarg}
19531954
return_args.update(node.args.args)

0 commit comments

Comments
 (0)