File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Tox (http://tox.testrun.org/) is a tool for running tests
2
+ # in multiple virtualenvs. This configuration file will run the
3
+ # test suite on all supported python versions. To use it, "pip install tox"
4
+ # and then run "tox" from this directory.
5
+
6
+ [tox]
7
+ envlist = black-format,black-check,black-nb-check,black-nb-format
8
+ skipsdist =True
9
+
10
+ [testenv:black-format]
11
+ setenv =
12
+ LC_ALL =C.UTF-8
13
+ LANG =C.UTF-8
14
+ deps = black
15
+ commands =
16
+ black -l 100 ./
17
+
18
+ [testenv:black-check]
19
+ setenv =
20
+ LC_ALL =C.UTF-8
21
+ LANG =C.UTF-8
22
+ deps = black
23
+ commands =
24
+ black -l 100 --check ./
25
+
26
+ [testenv:black-nb-check]
27
+ deps = black-nb
28
+ commands =
29
+ black-nb -l 100 --check ./
30
+
31
+ [testenv:black-nb-format]
32
+ deps = black-nb
33
+ commands =
34
+ black-nb -l 100 ./
You can’t perform that action at this time.
0 commit comments