From cf7673c51c09f223234dd16234edf196ecff94c1 Mon Sep 17 00:00:00 2001 From: Tiara Rodney Date: Sat, 2 Apr 2022 03:05:07 +0200 Subject: [PATCH] style(tox): remove redundant envs --- tox.ini | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/tox.ini b/tox.ini index 524fc47..28b7f1d 100644 --- a/tox.ini +++ b/tox.ini @@ -5,14 +5,6 @@ isolated_build = True envlist = lint, test, build, docs -[testenv:shell] -description = launch python shell -setenv = PYTHONPATH = {toxinidir}/src -deps = - {toxinidir} -commands = - python3 - [testenv:lint] description = lint with pylint setenv = PYTHONPATH = {toxinidir}/src @@ -64,14 +56,6 @@ commands = sphinx-build -d "{toxinidir}/docs/_tree/_" docs . --color -W -bmarkdown -treadme {posargs} -[testenv:diff] -description = diff -allowlist_externals = - git -commands = - git diff --exit-code {posargs} - - [testenv:format] description = format code basepython = python3 @@ -81,20 +65,6 @@ commands = python3 -m autopep8 -v src/ {posargs} -[testenv:graph] -description = build documentation -basepython = python3 -allowlist_externals = - graphviz - /bin/sh - pyan -deps = - {toxinidir} - pyan3 -commands = - pyan --root {toxinidir}/src --uses --no-defines --colored --grouped --annotated --html - - [testenv:publish-testpypi] description = publish to pypi test repository passenv = @@ -145,7 +115,7 @@ commands = rm -rf {env:tmppath} git clone git@bitbucket.org:victorykit/victorykit.bitbucket.io.git {env:tmppath} mkdir -p "{env:tmppath}/{env:BITBUCKET_REPO_SLUG}" - cp -r dist/docs/ "{env:tmppath}/{env:BITBUCKET_REPO_SLUG}" + cp -r build/docs/ "{env:tmppath}/{env:BITBUCKET_REPO_SLUG}" sh -c "cd {env:tmppath}; git add {env:BITBUCKET_REPO_SLUG}" sh -c "cd {env:tmppath}; git -c 'user.name=victoryk.it Bot' -c 'user.email=commits-noreply@victoryk.it' commit -m 'updated {env:BITBUCKET_REPO_SLUG}'" sh -c "cd {env:tmppath}; git push"