Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI checks #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 3 additions & 18 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PLATFORM =

[base]
deps =
pip>=21.1
pip>=21.3
setuptools_scm

[testenv]
Expand Down Expand Up @@ -83,10 +83,6 @@ deps =
{[base]deps}
pylint

commands_pre =
# need to generate version info in a fresh checkout
python setup.py egg_info

commands =
pylint --rcfile={toxinidir}/.pylintrc --fail-under=8.00 pystache/

Expand All @@ -104,7 +100,7 @@ commands =
passenv = CI,PYTHON,PYTHONIOENCODING

deps =
pip>=22.1
{[base]deps}
build
twine

Expand All @@ -119,7 +115,7 @@ skip_install = true
allowlist_externals = bash

deps =
pip>=22.1
pip>=21.3

commands =
pip install pystache --force-reinstall --pre --prefer-binary -f dist/
Expand All @@ -135,10 +131,6 @@ deps =
{[base]deps}
.[doc]

commands_pre =
# need to generate version info in a fresh checkout
bash -c '[[ -f pystache/_version.py ]] || python setup.py egg_info'

commands = make -C docs html

[testenv:docs-lint]
Expand All @@ -149,9 +141,6 @@ allowlist_externals =
deps =
{[testenv:docs]deps}

commands_pre =
{[testenv:docs]commands_pre}

commands = make -C docs linkcheck

[testenv:changes]
Expand Down Expand Up @@ -182,10 +171,6 @@ deps =
{[base]deps}
bandit

commands_pre =
# need to generate version info in a fresh checkout
python setup.py egg_info

commands =
bandit -r pystache/ -x pystache/tests

Expand Down