Browse code

CI: ignore import * in __init__ files

Anton Akhmerov authored on 23/04/2019 14:37:08
Showing 1 changed files
... ...
@@ -1,7 +1,6 @@
1 1
 [pytest]
2 2
 testpaths = kwant
3 3
 flakes-ignore =
4
-    __init__.py UnusedImport
4
+    __init__.py UnusedImport ImportStarUsed ImportStarUsage
5 5
     kwant/_plotter.py UnusedImport
6 6
     graph/tests/test_scotch.py UndefinedName
7
-    graph/tests/test_dissection.py UndefinedName
Browse code

move expensive imports to _plotter.py module

Joseph Weston authored on 23/02/2018 16:49:31
Showing 1 changed files
... ...
@@ -2,5 +2,6 @@
2 2
 testpaths = kwant
3 3
 flakes-ignore =
4 4
     __init__.py UnusedImport
5
+    kwant/_plotter.py UnusedImport
5 6
     graph/tests/test_scotch.py UndefinedName
6 7
     graph/tests/test_dissection.py UndefinedName
Browse code

use flakes in ci, fix flakes warnings

Anton Akhmerov authored on 10/06/2016 03:18:14
Showing 1 changed files
... ...
@@ -1,2 +1,6 @@
1 1
 [pytest]
2 2
 testpaths = kwant
3
+flakes-ignore =
4
+    __init__.py UnusedImport
5
+    graph/tests/test_scotch.py UndefinedName
6
+    graph/tests/test_dissection.py UndefinedName
Browse code

specify test paths via ini

Anton Akhmerov authored on 04/06/2016 12:55:39
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+[pytest]
2
+testpaths = kwant