forked from iqm-finland/KQCircuits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
27 lines (22 loc) · 834 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
[tox]
envlist = all
skipsdist = True
[testenv]
basepython=python
sitepackages=true
commands_pre =
pip install -e klayout_package/python[tests]
[testenv:all]
commands =
python -m pytest tests --ignore=tests/simulations/export_and_run/ -n8 --quiet --cov --cov-report=term-missing --junitxml=test_report.xml
python -m pylint klayout_package/ tests/
python -m nbqa pylint notebooks/ --disable=W0104
[testenv:matrix]
commands =
python -m pytest tests --ignore=tests/simulations/export_and_run/ -n8 --quiet --cov --cov-report=term-missing --junitxml=test_report.xml
commands_post =
pip show klayout
[testenv:static_analysis]
commands =
python -m pylint klayout_package/ tests/ {posargs}{env:CODEQUALITY_JSON:}
python -m nbqa pylint notebooks/ --disable="W0104,C0103" {posargs}{env:CODEQUALITY_NB_JSON:}