From 13fdb2c6a0d224723c2ee8393a876d013fc53187 Mon Sep 17 00:00:00 2001 From: Martijn Stegeman Date: Tue, 10 Dec 2024 15:48:52 +0100 Subject: [PATCH] tab --- tests/_basics.py | 2 +- tests/_basics_no_listcomp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/_basics.py b/tests/_basics.py index f8cd9c7..794dcc2 100644 --- a/tests/_basics.py +++ b/tests/_basics.py @@ -15,7 +15,7 @@ def basic_style(test): def testMethod(): if lineno := has_syntax_error(): return False, f"de code bevat een syntax error op regel {lineno}" - if has_string(" "): + if has_string(" "): return False, "let op dat je geen tabs gebruikt" if has_string("Optional"): return False, "let op dat je niet Optional[...] gebruikt als type hint maar ... | None" diff --git a/tests/_basics_no_listcomp.py b/tests/_basics_no_listcomp.py index 689fa76..d97fcd0 100644 --- a/tests/_basics_no_listcomp.py +++ b/tests/_basics_no_listcomp.py @@ -15,7 +15,7 @@ def basic_style(test): def testMethod(): if lineno := has_syntax_error(): return False, f"de code bevat een syntax error op regel {lineno}" - if has_string(" "): + if has_string(" "): return False, "let op dat je geen tabs gebruikt" if has_string("Optional"): return False, "let op dat je niet Optional[...] gebruikt als type hint maar ... | None"