We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 097753e commit 294b651Copy full SHA for 294b651
tox.ini
@@ -0,0 +1,33 @@
1
+[tox]
2
+lint_folders =
3
+ "{toxinidir}/notebooks"
4
+
5
+[testenv]
6
7
+[testenv:run-notebooks]
8
+deps =
9
+ numpy
10
+ scipy
11
+ matplotlib
12
+ ipywidgets
13
+ jupyter
14
+commands =
15
+ jupyter execute {toxinidir}/notebooks/01-BasisExpansion.ipynb
16
17
+[testenv:format]
18
+# formats project source code files
19
+skip_install = true
20
21
+ black[jupyter]
22
23
+ black {[tox]lint_folders}
24
25
+[testenv:lint]
26
27
28
+ flake8-nb
29
30
+ flake8_nb {[tox]lint_folders}
31
32
+[flake8_nb]
33
+max_line_length = 88
0 commit comments