Fix or ignore lints in tests

This commit is contained in:
Peter Law
2024-06-30 19:05:38 +01:00
parent 5c578e1899
commit 0fcb4468e7
12 changed files with 38 additions and 31 deletions
@@ -222,7 +222,7 @@ def test_goto_stubs_on_itself(Script, code, type_):
def test_module_exists_only_as_stub(Script):
try:
import redis
import redis # noqa: F401
except ImportError:
pass
else:
@@ -234,7 +234,7 @@ def test_module_exists_only_as_stub(Script):
def test_django_exists_only_as_stub(Script):
try:
import django
import django # noqa: F401
except ImportError:
pass
else: