Skip to content
Snippets Groups Projects
Commit 0ccbb88f authored by dboe's avatar dboe
Browse files

Update template

parent c89e6d0e
No related branches found
No related tags found
No related merge requests found
# requirements.txt is generated dynamically in this project (e.g. make requirements)
requirements.txt
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
......
...@@ -119,7 +119,6 @@ skip_missing_interpreters = true ...@@ -119,7 +119,6 @@ skip_missing_interpreters = true
envlist = envlist =
py{35,36,37,38,39,310} py{35,36,37,38,39,310}
recreate = true recreate = true
usedevelop = true
[gh-actions] [gh-actions]
python = python =
...@@ -137,11 +136,10 @@ deps = ...@@ -137,11 +136,10 @@ deps =
{[options.extras_require]test} {[options.extras_require]test}
extras = test extras = test
commands = commands =
pytest {envsitepackagesdir}/tfields \ # prevent ImportPathMismatchError https://tox.wiki/en/latest/example/pytest.html # The {envsitepackagesdir} parts prevent ImportPathMismatchError https://tox.wiki/en/latest/example/pytest.html
--basetemp="{envtmpdir}" {posargs} # That means also that you have to specify relative paths (e.g. --ignore) like so --ignore={envsitepackagesdir}/{[metadata]name}/plotting
--cov={[metadata]name} \ # The below line is long and not broken and continued because of this error: https://github.com/tox-dev/tox/issues/945
--ignore=docs \ pytest {envsitepackagesdir}/{[metadata]name} --basetemp="{envtmpdir}" {posargs} --cov={envsitepackagesdir}/{[metadata]name} --junitxml=report/junit.xml --ignore={envsitepackagesdir}/{[metadata]name}/plotting
--junitxml=report/junit.xml
[testenv:flake8] [testenv:flake8]
commands = flake8 {[metadata]name}/ tests/ commands = flake8 {[metadata]name}/ tests/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment