forked from UCSBarchlab/PyRTL
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
28 lines (23 loc) · 755 Bytes
/
tox.ini
File metadata and controls
28 lines (23 loc) · 755 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
[tox]
# When changing the following line, be sure to update 'python-version' in
# .github/workflows/python-test.yml
envlist = py{3.8,3.12}-{test}, pycodestyle
[gh-actions]
python =
3.8: py3.8
3.12: py3.12, pycodestyle
[testenv]
deps = test: -rrequirements.txt
pycodestyle: pycodestyle
envdir =
py3.8: {toxworkdir}/3.8
py3.12: {toxworkdir}/3.12
pycodestyle: {toxworkdir}/pycodestyle
setenv =
PYTHONPATH = {toxinidir}
commands =
test: pytest --cov=pyrtl --cov-report=xml
test: pylint -E pyrtl/
pycodestyle: pycodestyle --max-line-length=100 --ignore=W503 pyrtl/
pycodestyle: pycodestyle --max-line-length=100 --ignore=W503 examples/
pycodestyle: pycodestyle --max-line-length=100 --ignore=W503 tests/