From: Karl O. Pinc Date: Tue, 5 Jan 2021 21:44:13 +0000 (-0600) Subject: Fix tox.ini so mako substutions happen X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=57ed5256f0675eaa514b45a9792f1794f7bf121b;p=pgwui_develop Fix tox.ini so mako substutions happen --- diff --git a/src/pgwui_testing/TEMPLATE/tox.ini b/src/pgwui_testing/TEMPLATE/tox.ini deleted file mode 100644 index b91d317..0000000 --- a/src/pgwui_testing/TEMPLATE/tox.ini +++ /dev/null @@ -1,37 +0,0 @@ -[tox] -envlist = py{34,35,36,37} - -[testenv] -basepython = - py34: python3.4 - py35: python3.5 - py36: python3.6 - py37: python3.7 -deps = - check-manifest - cmarkgfm - flake8 - pgwui_testing - pytest - pytest-cov - twine - # coverage -commands = - check-manifest - python setup.py sdist - twine check dist/* - flake8 . - py.test -m unittest --cov=${component.lower()} tests/ - py.test -m 'not unittest' --cov=${component.lower()} tests/ - # coverage run --source src/${component.lower()} -m py.test - # coverage report - -[flake8] -exclude = .tox,*.egg,build,data,devel -select = E,W,F -ignore = W503 - -[pytest] -markers = - unittest - integrationtest diff --git a/src/pgwui_testing/TEMPLATE/tox.ini.mak b/src/pgwui_testing/TEMPLATE/tox.ini.mak new file mode 100644 index 0000000..b91d317 --- /dev/null +++ b/src/pgwui_testing/TEMPLATE/tox.ini.mak @@ -0,0 +1,37 @@ +[tox] +envlist = py{34,35,36,37} + +[testenv] +basepython = + py34: python3.4 + py35: python3.5 + py36: python3.6 + py37: python3.7 +deps = + check-manifest + cmarkgfm + flake8 + pgwui_testing + pytest + pytest-cov + twine + # coverage +commands = + check-manifest + python setup.py sdist + twine check dist/* + flake8 . + py.test -m unittest --cov=${component.lower()} tests/ + py.test -m 'not unittest' --cov=${component.lower()} tests/ + # coverage run --source src/${component.lower()} -m py.test + # coverage report + +[flake8] +exclude = .tox,*.egg,build,data,devel +select = E,W,F +ignore = W503 + +[pytest] +markers = + unittest + integrationtest