forked from gorakhargosh/watchdog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
53 lines (47 loc) · 920 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tox]
envlist =
py{311,310,39,38,37,36,py3}
docs
mypy
skip_missing_interpreters = True
[testenv]
usedevelop = true
deps =
-r requirements-tests.txt
extras =
watchmedo
commands =
python -bb -m pytest {posargs}
[testenv:flake8]
usedevelop = true
deps =
-r requirements-tests.txt
extras =
watchmedo
commands =
python -m flake8 docs tools src tests setup.py
[testenv:docs]
usedevelop = true
deps =
-r requirements-tests.txt
extras =
watchmedo
commands =
sphinx-build -aEWb html docs/source docs/build/html
[testenv:mypy]
usedevelop = true
deps =
-r requirements-tests.txt
commands =
mypy
[testenv:isort]
usedevelop = true
deps =
-r requirements-tests.txt
commands =
isort src/watchdog/ tests/ *.py
[testenv:isort-ci]
usedevelop = {[testenv:isort]usedevelop}
deps = {[testenv:isort]deps}
commands =
isort --diff --check-only src/watchdog/ tests/ *.py