-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (30 loc) · 785 Bytes
/
Copy pathtox.ini
File metadata and controls
35 lines (30 loc) · 785 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
[tox]
minversion = 3.18.0
envlist = py38,pep8
ignore_basepython_conflict = True
[testenv]
passenv = HOME
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
basepython = {env:TOX_PYTHON:python3}
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
allowlist_externals = sh
find
rm
commands = find {toxinidir} -type f -name "*.py[c|o]" -delete
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
show-source = true
enable-extensions = H106,H203
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,
[testenv:pylint]
deps =
{[testenv]deps}
pylint
commands =
pylint --rcfile=.pylintrc --output-format=colorized {posargs:soslyze}