diff --git a/pytest.ini b/pytest.ini
index c7f56a4768a2f6f410c50545cc5740b85baef3d7..ecac1a6fb78efcdfd9088f58b4f3727024b24530 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,7 +1,6 @@
 [pytest]
 testpaths = kwant
 flakes-ignore =
-    __init__.py UnusedImport
+    __init__.py UnusedImport ImportStarUsed ImportStarUsage
     kwant/_plotter.py UnusedImport
     graph/tests/test_scotch.py UndefinedName
-    graph/tests/test_dissection.py UndefinedName