Skip to content

Commit

Permalink
dev: sync deps versions with Pipfile
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofavorito committed Jun 6, 2023
1 parent fbc448f commit 0443bd9
Showing 1 changed file with 48 additions and 47 deletions.
95 changes: 48 additions & 47 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,45 @@ labels =
meta = check-copyright, black-check, isort-check, docs, flake8, mypy

[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest<7.4.0,>=7.3.1
pytest-cov>=4.0.0,<4.1.0
pytest-randomly>=3.12.0,<3.13.0
pytest-lazy-fixture>=0.6.3,<0.7.0
mistune<2.1.0,>=2.0.5

commands =
pytest --basetemp={envtmpdir} --doctest-modules \
{posargs:pddl tests} \
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest<7.4.0,>=7.3.1
pytest-cov<4.2.0,>=4.1.0
pytest-randomly<3.13.0,>=3.12.0
pytest-lazy-fixture<0.7.0,>=0.6.3
mistune>=2.0.5,<2.1.0
commands =
pytest --basetemp={envtmpdir} --doctest-modules \
{posargs:pddl tests} \
--cov=pddl \
--cov-report=xml \
--cov-report=html \
--cov-report=term

[testenv:py{37,38,39,310}]
commands =
{[testenv]commands}
commands =
{[testenv]commands}
deps =

[testenv:flake8]
skip_install = True
deps =
flake8<6.1.0,>=6.0.0
flake8-docstrings<1.8.0,>=1.7.0
flake8-bugbear<23.6.0,>=23.5.9
flake8-isort>=6.0.0,<6.1.0
commands =
flake8 pddl tests
deps =
flake8<6.1.0,>=6.0.0
flake8-docstrings<1.8.0,>=1.7.0
flake8-bugbear<23.4.0,>=23.3.12
flake8-isort>=6.0.0,<6.1.0
commands =
flake8 pddl tests

[testenv:mypy]
skip_install = True
deps =
mypy>=1.3.0,<1.4.0
types-click>=7.1.8,<7.2.0
types-pytest-lazy-fixture>=0.6.3.3,<0.6.4.0
commands =
mypy pddl tests
deps =
mypy>=1.3.0,<1.4.0
types-click<7.2.0,>=7.1.8
types-pytest-lazy-fixture<0.6.4.0,>=0.6.3.3
commands =
mypy pddl tests

[testenv:black]
skip_install = True
Expand All @@ -68,44 +68,45 @@ commands = isort --check-only pddl tests
[testenv:bandit]
skipsdist = True
skip_install = True
deps = bandit>=1.7.5,<1.8.0
deps = bandit<1.8.0,>=1.7.5
commands = bandit --configfile .bandit.yml --recursive pddl tests scripts

[testenv:safety]
skipsdist = False
skip_install = False
deps = safety>=2.3.4,<2.4.0
deps = safety<2.5.0,>=2.4.0b1
commands = safety check

[testenv:vulture]
skipsdist = True
skip_install = True
deps = vulture<2.8,>=2.7
deps = vulture>=2.7.0,<2.8.0
commands = vulture pddl scripts/whitelist.py

[testenv:docs]
skip_install = True
deps =
mkdocs>=1.4.3,<1.5.0
mkdocs-material>=9.1.12,<9.2.0
markdown-include>=0.8.1,<0.9.0
pymdown-extensions>=10.0,<10.1
commands =
mkdocs build --clean
deps =
mkdocs>=1.4.3,<1.5.0
mkdocs-material>=9.1.15,<9.2.0
markdown-include>=0.8.1,<0.9.0
pymdown-extensions<10.1.0,>=10.0.1
commands =
mkdocs build --clean

[testenv:docs-serve]
skip_install = True
deps =
mkdocs>=1.4.3,<1.5.0
mkdocs-material>=9.1.12,<9.2.0
markdown-include>=0.8.1,<0.9.0
pymdown-extensions>=10.0,<10.1
commands =
mkdocs build --clean
python -c 'print("###### Starting local server. Press Control+C to stop server ######")'
mkdocs serve
deps =
mkdocs>=1.4.3,<1.5.0
mkdocs-material>=9.1.15,<9.2.0
markdown-include>=0.8.1,<0.9.0
pymdown-extensions<10.1.0,>=10.0.1
commands =
mkdocs build --clean
python -c 'print("###### Starting local server. Press Control+C to stop server ######")'
mkdocs serve

[testenv:check-copyright]
skip_install = True
deps =
deps =
commands = python3 scripts/check_copyright.py

0 comments on commit 0443bd9

Please sign in to comment.