forked from grantjenks/blue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
59 lines (47 loc) · 846 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
54
55
56
57
58
59
[tox]
envlist=bluecheck,doc8,flake8,rstcheck,docs,py36,py37,py38,py39
skip_missing_interpreters=True
[testenv]
commands=pytest
deps=
pytest
pytest-cov
[pytest]
addopts=
--cov blue
--cov-branch
testpaths=blue docs tests
[testenv:blue]
commands=blue blue docs setup.py tests/test_blue.py
[testenv:bluecheck]
commands=blue --check blue docs setup.py tests/test_blue.py
[testenv:docs]
allowlist_externals=make
changedir=docs
commands=make html
deps=sphinx
[testenv:doc8]
deps=doc8
commands=doc8 docs
[testenv:flake8]
deps=flake8
commands=flake8 blue setup.py
[testenv:rstcheck]
deps=rstcheck
commands=rstcheck --report warning README.rst
[coverage:report]
fail_under=87
show_missing=true
[coverage:run]
branch=true
parallel=true
omit=
[coverage:paths]
source=
blue
[flake8]
ignore=
E124
E203
E303
W503