-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
47 lines (41 loc) · 870 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
[tox]
envlist =
clean
check
py38
report
[testenv]
deps =
-rrequirements.txt
pytest
pytest-cov
pytest-flake8
pytest-mypy
pytest-subtests
# Let's re-enable black once we figure out how
# to make it shut up about how to style our puzzle
# matrices:
#
# pytest-black (remember to add --black to pytest below).
commands =
pytest --mypy --flake8 --cov=binarypuzzle --cov-append --cov-report=term-missing
[testenv:check]
skip_install = true
commands =
python setup.py check --strict --metadata
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage html
[testenv:clean]
skip_install = true
deps = coverage
commands = coverage erase
[pytest]
addopts = --doctest-modules -s -p no:warnings
[flake8]
show-source = True
# Black uses a maximum line length of 88.
max-line-length = 88