forked from MrS0m30n3/youtube-dl-gui
-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
tox.ini
40 lines (37 loc) · 784 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
[tox]
requires =
tox>=4
envlist = py{38,39,310,311}
skip_missing_interpreters = true
[testenv]
passenv = DISPLAY
deps =
polib
flake8
mypy
pytest-cov
commands_pre =
{envpython} setup.py build_trans
commands =
coverage erase
coverage run -m pytest {posargs:--cov-report term-missing tests -vv}
- coverage combine
coverage report
mypy -p youtube_dl_gui
flake8
{envpython} setup.py install
{envbindir}/yt-dlg --version
[testenv:pyinstaller]
allowlist_externals = ./dist/yt-dlg
base_python = py310
extras = binaries
commands =
{envpython} setup.py pyinstaller
./dist/yt-dlg --version
[testenv:pre-commit]
skip_install = true
deps =
polib
pre-commit
commands =
pre-commit run --all-files --show-diff-on-failure