forked from VirtusLab/git-machete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
34 lines (30 loc) · 754 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
[tox]
envlist = pep8,py36,py37,py38,py39
minversion = 2.3.2
skipsdist = True
[testenv]
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning,ignore::DeprecationWarning:distutils,ignore::DeprecationWarning:site
usedevelop = False
install_command =
pip install {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = mypy
commands =
mypy --config-file mypy.ini git_machete
stestr run {posargs}
[testenv:pep8]
deps = flake8
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
# E501 ignore line longer than 80
# W504 ignore wrap line after binary operator
ignore = E501,W504
show-source = True
exclude = ./.*,build,dist,*egg
import-order-style = pep8