forked from jendrikseipp/rednotebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (29 loc) · 581 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tox]
envlist = py3, style
basepython = python3
[testenv]
deps =
pytest
commands =
python -m pytest
python dev/whitelist.py
python win/sampleapp.py
sitepackages = true
[testenv:style]
skipsdist = true
extras = dev_style
commands =
bash dev/check-style.sh
allowlist_externals =
bash
sitepackages = false
[testenv:fix-style]
skipsdist = true
extras = dev_style
commands =
black .
isort rednotebook/ tests/
bash -c 'pyupgrade --py36-plus --exit-zero `find rednotebook tests -name "*.py" -not -path "*external*"`'
allowlist_externals =
bash
sitepackages = false