aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 4957b2d9db4c37a1586f8ca7210288178471ed41 (plain) (blame)
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
[tox]
# toxworkdir = /data1/DATA/tox/ruamel.yaml.clib 
envlist = cs,py39,py38,py37,py36,py35

[testenv]
skip_install = True
commands =
    python setup.py bdist_wheel -d /data1/DATA/tox/ruamel.yaml.clib/dist/
    pip install --upgrade --find-links=/data1/DATA/tox/ruamel.yaml.clib/dist/ ruamel.yaml.clib
deps =
    pytest
    wheel

[testenv:cs]
basepython = python3.6
deps =
    flake8
    flake8-bugbear;python_version>="3.5"
commands =
    flake8 []{posargs}

[testenv:pep8]
basepython = python3.6
deps =
    flake8
    flake8-bugbear;python_version>="3.5"
commands =
    flake8 []{posargs}

[flake8]
show-source = True
max-line-length = 95
ignore = W503,F405,E203
exclude = .hg,.git,.tox,dist,.cache,__pycache__,ruamel.zip2tar.egg-info

[pytest]
filterwarnings =
    error::DeprecationWarning
    error::PendingDeprecationWarning