Skip to content

Commit

Permalink
Stop using deprecated astroid argument
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Nov 6, 2023
1 parent acc19df commit 2c670d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiwi_lint/similar_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def check_similar_and_add_error_message(

if similar_string:
if isinstance(node, str):
error_message["node"] = astroid.Module(node, file=node, doc=None)
error_message["node"] = astroid.Module(node, file=node)
else:
error_message["node"] = node
error_message["args"] = (
Expand Down

0 comments on commit 2c670d6

Please sign in to comment.