-
Notifications
You must be signed in to change notification settings - Fork 21
/
tox.ini
61 lines (49 loc) · 899 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
60
61
[tox]
envlist=bluecheck,doc8,flake8,rstcheck,docs,py36,py37,py38,py39,py310,py311
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 --diff 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-level warning README.rst
[coverage:report]
fail_under=85
show_missing=true
[coverage:run]
branch=true
parallel=true
omit=
[coverage:paths]
source=
blue
[flake8]
ignore=
E124
E203
E303
E402
W503
max-line-length=88