Skip to content

Commit

Permalink
Adding lark and click to Pipfile, and deversioning the tox.ini.
Browse files Browse the repository at this point in the history
  • Loading branch information
haz committed Aug 13, 2024
1 parent 5aa9ebd commit fb72707
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 68 deletions.
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ url = "https://pypi.org/simple"
verify_ssl = true

[packages]
lark = ">=1.1.5,<1.2.0"
click = ">=8.1.3,<9.0.0"

[dev-packages]
pytest = "*"
Expand Down
128 changes: 87 additions & 41 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 27 additions & 27 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ labels =
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest<7.4.0,>=7.3.1
pytest-cov>=4.1.0,<4.2.0
pytest-randomly>=3.12.0,<3.13.0
pytest-lazy-fixture<0.7.0,>=0.6.3
mistune>=2.0.5,<2.1.0
pytest
pytest-cov
pytest-randomly
pytest-lazy-fixture
mistune

commands =
pytest --basetemp={envtmpdir} --doctest-modules \
Expand All @@ -29,76 +29,76 @@ commands =
[testenv:flake8]
skip_install = True
deps =
flake8<6.1.0,>=6.0.0
flake8-docstrings<1.8.0,>=1.7.0
flake8-bugbear>=23.3.12,<23.4.0
flake8-isort>=6.0.0,<6.1.0
flake8
flake8-docstrings
flake8-bugbear
flake8-isort
commands =
flake8 pddl tests

[testenv:mypy]
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
mypy
types-click
types-pytest-lazy-fixture
commands =
mypy pddl tests

[testenv:black]
skip_install = True
deps = black<23.4.0,>=23.3.0
deps = black
commands = black pddl tests

[testenv:black-check]
skip_install = True
deps = black<23.4.0,>=23.3.0
deps = black
commands = black pddl tests --check --verbose

[testenv:isort]
skip_install = True
deps = isort<5.13.0,>=5.12.0
deps = isort
commands = isort pddl tests

[testenv:isort-check]
skip_install = True
deps = isort<5.13.0,>=5.12.0
deps = isort
commands = isort --check-only pddl tests

[testenv:bandit]
skipsdist = True
skip_install = True
deps = bandit>=1.7.5,<1.8.0
deps = bandit
commands = bandit --configfile .bandit.yml --recursive pddl tests scripts

[testenv:safety]
skipsdist = False
skip_install = False
deps = safety>=3.2.4,<4.0.0
deps = safety
commands = safety check

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

[testenv:docs]
skip_install = True
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.0.1,<10.1.0
mkdocs
mkdocs-material
markdown-include
pymdown-extensions
commands =
mkdocs build --clean

[testenv:docs-serve]
skip_install = True
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.0.1,<10.1.0
mkdocs
mkdocs-material
markdown-include
pymdown-extensions
commands =
mkdocs build --clean
python -c 'print("###### Starting local server. Press Control+C to stop server ######")'
Expand Down

0 comments on commit fb72707

Please sign in to comment.