-
Notifications
You must be signed in to change notification settings - Fork 292
Expand file tree
/
Copy pathtox.ini
More file actions
46 lines (41 loc) · 710 Bytes
/
tox.ini
File metadata and controls
46 lines (41 loc) · 710 Bytes
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
[tox]
envlist =
black
flake8
isort
mypy
py{39,310,311,312,313,py3}
minversion = 4.11.4
[testenv]
commands =
pytest --cov=./ --cov-report=xml {posargs}
deps =
pytest
pytest-cov
setenv =
PYTHONUTF8 = 1
[testenv:black]
basepython = python3
commands =
black --target-version py38 --line-length 88 --check --diff .
deps =
black
skip_install = true
[testenv:flake8]
basepython = python3
commands =
flake8 --max-line-length 88
deps =
flake8
skip_install = true
[testenv:isort]
basepython = python3
commands =
isort --check-only --diff .
deps =
isort
skip_install = true
[testenv:mypy]
commands = mypy --strict html2text
deps = mypy
skip_install = true