Skip to content
Snippets Groups Projects
Commit 33902e3b authored by dboe's avatar dboe
Browse files

Merge branch 'cookiecutter-template'

parents 0c8523a5 0ccbb88f
No related branches found
No related tags found
No related merge requests found
Pipeline #117411 passed
# 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]
......
...@@ -135,7 +135,6 @@ skip_missing_interpreters = true ...@@ -135,7 +135,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 =
...@@ -157,11 +156,10 @@ commands_pre = ...@@ -157,11 +156,10 @@ commands_pre =
rm -rf **/__pycache__ rm -rf **/__pycache__
rm -rf **/*.pyc rm -rf **/*.pyc
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