diff --git a/.gitignore b/.gitignore index 5e7df01..cf284f3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ src/devicetree.egg-info/ build/ devicetree.egg-info/ __pycache__/ +.tox/ diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..59d9304 --- /dev/null +++ b/tox.ini @@ -0,0 +1,11 @@ +[tox] +envlist=py3 + +[testenv] +deps = + setuptools-scm + pytest +setenv = + TOXTEMPDIR={envtmpdir} +commands = + python -m pytest {posargs:tests}