mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
7c3f665ba8
commit
4c651f96cd
2 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ DEBUG_STATEMENTS = {
|
|||
|
||||
DEBUG_CALL_STATEMENTS = {
|
||||
'breakpoint',
|
||||
'print'
|
||||
'print',
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ def test_finds_breakpoint():
|
|||
visitor = DebugStatementParser()
|
||||
visitor.visit(ast.parse('breakpoint()'))
|
||||
assert visitor.breakpoints == [Debug(1, 0, 'breakpoint', 'called')]
|
||||
|
||||
|
||||
def test_finds_print():
|
||||
|
||||
|
||||
def test_finds_print():
|
||||
visitor = DebugStatementParser()
|
||||
visitor.visit(ast.parse('print()'))
|
||||
assert visitor.breakpoints == [Debug(1, 0, 'print', 'called')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue