forked from MozillaSecurity/FuzzManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
59 lines (54 loc) · 1.13 KB
/
Copy pathtox.ini
File metadata and controls
59 lines (54 loc) · 1.13 KB
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 = py{37,38,39,310}
minversion = 3.2
tox_pip_extensions_ext_venv_update = true
skip_missing_interpreters = true
[testenv]
extras =
server
taskmanager
test
usedevelop = true
commands = pytest -v --cov="{toxinidir}" --cov-report term-missing {posargs}
install_command = python -m pip install -c "{toxinidir}/requirements.txt" {opts} {packages}
passenv =
TOXENV
CI
TRAVIS
TRAVIS_*
CODECOV_*
TWINE_*
[testenv:update-reqs]
skip_install = true
basepython = python3.7
deps =
pip-tools
install_command = python -m pip install {opts} {packages}
commands =
pip-compile --extra docker --extra server --extra test -P mozillapulse --strip-extras -q
[testenv:codecov]
skip_install = true
deps =
codecov
coverage[toml]
commands =
codecov
[testenv:pypi]
skip_install = true
deps =
twine
wheel
commands =
python setup.py sdist bdist_wheel
bash repack_wheel.sh
twine upload --skip-existing dist/*
whitelist_externals = bash
[flake8]
ignore =
E203 # black compat
W503 # black compat
enable =
W504 # black compat
max-line-length = 88
show-source = true
statistics = true