-
Notifications
You must be signed in to change notification settings - Fork 16
/
tox.ini
42 lines (39 loc) · 1 KB
/
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
41
[tox]
envlist = py{35,36,37,38,39}
[gh-actions]
python =
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39
[testenv]
setenv =
PYTHONPATH={toxinidir}/sdf_timing
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
deps =
check-manifest
# If your project uses README.rst, uncomment the following:
# readme_renderer
pyjson
flake8
pytest
commands =
check-manifest --ignore tox.ini,tests*
# This repository uses a Markdown long_description, so the -r flag to
# `setup.py check` is not needed. If your project contains a README.rst,
# use `python setup.py check -m -r -s` instead.
python setup.py check -m -s
# in sdfyacc.py we need to import sdflex.tokens, which are implicitly
# used by parser. This triggers flake8 error. Let's ignore this for now.
flake8 --ignore F401 .
py.test tests
py.test --doctest-modules sdf_timing
[flake8]
exclude = .tox,*.egg,build,data
select = E,W,F