<commit_before>[tox]
envlist = tests

[testenv]
whitelist_externals =
    echo
    git
    rm
commands =
    docs: mkdocs
    docs: mkdocs-material

[testenv:tests]
deps =
    flake8
    pytest
commands =
    flake8
    pytest

[testenv:watch]
description = run i3configger in watch mode
usedevelop = True
commands = i3configger -vvv --watch

[testenv:docs-auto]
skip_install = True
commands =
    mkdocs build --clean
    echo "###### Starting local server. Press Control+C to stop server ######"
    mkdocs serve -a localhost:8080

[testenv:docs-clean]
skip_install = True
whitelist_externals = rm
commands = rm -rf docs/build

[testenv:docs-deploy]
skip_install = True
commands = mkdocs gh-deploy --clean

[testenv:docs-deploy-force]
skip_install = True
commands =
    - git branch -D gh-pages
    - git push origin --delete gh-pages
    mkdocs gh-deploy --clean

[testenv:release]
description = create, push new tag and release
skip_install = True
usedevelop = False
deps = pypandoc
commands =
    git tag {posargs}
    git push --tags
    python setup.py sdist upload

[testenv:clean]
description = clean up cruft
skip_install = True
usedevelop = False
commands =
    - rm -rf {toxinidir}/.cache
    - rm -rf {toxinidir}/.eggs
    - rm -rf {toxinidir}/.tox
    - rm -rf {toxinidir}/build
    - rm -rf {toxinidir}/dist
<commit_msg>that release thing is not really well thtought through<commit_after>[tox]
envlist = tests

[testenv]
whitelist_externals =
    echo
    git
    rm
commands =
    docs: mkdocs
    docs: mkdocs-material

[testenv:tests]
deps =
    flake8
    pytest
commands =
    flake8
    pytest

[testenv:watch]
description = run i3configger in watch mode
usedevelop = True
commands = i3configger -vvv --watch

[testenv:docs-auto]
skip_install = True
commands =
    mkdocs build --clean
    echo "###### Starting local server. Press Control+C to stop server ######"
    mkdocs serve -a localhost:8080

[testenv:docs-clean]
skip_install = True
whitelist_externals = rm
commands = rm -rf docs/build

[testenv:docs-deploy]
skip_install = True
commands = mkdocs gh-deploy --clean

[testenv:docs-deploy-force]
skip_install = True
commands =
    - git branch -D gh-pages
    - git push origin --delete gh-pages
    mkdocs gh-deploy --clean

;[testenv:release]
;description = create, push new tag and release
;deps = pypandoc
;commands =
;    git tag {posargs}
;    git push --tags
;    python setup.py sdist upload

[testenv:clean]
description = clean up cruft
skip_install = True
usedevelop = False
commands =
    - rm -rf {toxinidir}/.cache
    - rm -rf {toxinidir}/.eggs
    - rm -rf {toxinidir}/.tox
    - rm -rf {toxinidir}/build
    - rm -rf {toxinidir}/dist

{'fraction_non_alphanumeric': 0.10414333706606943, 'fraction_numerical': 0.0059723777528928705, 'mean_word_length': 3.1679626749611196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5113748', 'n_tokens_mistral': 966, 'n_tokens_neox': 919, 'n_words': 274}