[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-03-16 22:51:24 +00:00
parent 5ed90ea4af
commit db3b44e4ec
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ class DebugStatementParser(ast.NodeVisitor):
if isinstance(node.args[0], ast.Constant) and node.args[0].value in DEBUG_STATEMENTS:
st = Debug(node.lineno, node.col_offset, node.args[0].value, 'imported')
self.breakpoints.append(st)
"""python3.7+ breakpoint()"""
if isinstance(node.func, ast.Name) and node.func.id == 'breakpoint':
st = Debug(node.lineno, node.col_offset, node.func.id, 'called')