Skip to content

Commit

Permalink
update tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
grizz committed Jan 20, 2024
1 parent 28a3f6b commit 0e154e1
Showing 1 changed file with 10 additions and 24 deletions.
34 changes: 10 additions & 24 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,40 +1,26 @@
[tox]
envlist = py{36,37,38,39}
envlist = py38,py39,py310,py311,py312
isolated_build = True

[testenv]
passenv = CI TRAVIS*
deps =
-r{toxinidir}/Ctl/requirements-test.txt

[testenv]
whitelist_externals = poetry
commands =
# poetry install -v
# poetry run pytest --cov-report=term-missing --cov-report=xml --cov={envsitepackagesdir}/tmpl
pytest --cov-report=term-missing --cov-report=xml --cov={envsitepackagesdir}/tmpl

[flake8]
extend-ignore = E501
exclude = [
.git,
.venv,
.tox,
__pycache__,
build,
dist
]
poetry install -v
{% endraw %}
poetry run pytest -vv --cov="{toxinidir}/src" --cov-report=term-missing --cov-report=xml tests/

max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[pytest]
# django modules need testing
# DJANGO_SETTINGS_MODULE = test_settings
norecursedirs = .facsimile data gen .tox
norecursedirs = .ctl .tox .venv data gen

0 comments on commit 0e154e1

Please sign in to comment.