<commit_before>[tox]
envlist=py{36,37,38,39,310}-test,flake8,check_readme,check-dist,py{37}-selfcheck,docs

[pytest]
testpaths=testing
filterwarnings=
    error
    ignore:.*tool\.setuptools_scm.*
markers=
    issue(id): reference to github issue
    skip_commit: allows to skip commiting in the helpers
# disable unraisable until investigated
addopts = -p no:unraisableexception

[flake8]
max-complexity = 10
max-line-length = 88
ignore=E203,W503
exclude=
	.git,
	.tox,
	.env,
	.venv,
	.pytest_cache,
	__pycache__,
	./src/setuptools_scm/win_py31_compat.py

[testenv]
usedevelop=True
skip_install=
    selfcheck: True
    test: False
deps=
    pytest
    setuptools >= 45
    tomli
commands=
    test: pytest []
    selfcheck: python setup.py --version
extras =
    toml

[testenv:flake8]
skip_install=True
deps=
    flake8
    mccabe
commands =
    flake8 src/setuptools_scm/ testing/ setup.py

[testenv:check_readme]
skip_install=True
setenv = SETUPTOOLS_SCM_PRETEND_VERSION=2.0
deps=
    check-manifest
    docutils
    pygments
commands=
    rst2html.py README.rst {envlogdir}/README.html --strict []
    check-manifest

[testenv:check_dist]
deps=
    wheel
    twine
commands=
    python setup.py clean --all rotate -k 0 -m .whl,.tar.gz,.zip
    python setup.py -q egg_info
    python setup.py -q sdist --formats zip bdist_wheel
    twine check dist/*



[testenv:dist]
deps= wheel
whitelist_externals = rm
commands=
    python setup.py -q clean --all
    python setup.py -q rotate -k 0 -m .egg,.zip,.whl,.tar.gz
    python setup.py -q egg_info
    python setup.py -q sdist --formats zip,bztar bdist_wheel upload

[testenv:devpi]
deps=
    devpi-client
commands =
    python setup.py -q egg_info
    devpi upload --from-dir dist

#XXX: envs for hg versions
<commit_msg>[tox] drop devpi testenv<commit_after>[tox]
envlist=py{36,37,38,39,310}-test,flake8,check_readme,check-dist,py{37}-selfcheck,docs

[pytest]
testpaths=testing
filterwarnings=
    error
    ignore:.*tool\.setuptools_scm.*
markers=
    issue(id): reference to github issue
    skip_commit: allows to skip commiting in the helpers
# disable unraisable until investigated
addopts = -p no:unraisableexception

[flake8]
max-complexity = 10
max-line-length = 88
ignore=E203,W503
exclude=
	.git,
	.tox,
	.env,
	.venv,
	.pytest_cache,
	__pycache__,
	./src/setuptools_scm/win_py31_compat.py

[testenv]
usedevelop=True
skip_install=
    selfcheck: True
    test: False
deps=
    pytest
    setuptools >= 45
    tomli
commands=
    test: pytest []
    selfcheck: python setup.py --version
extras =
    toml

[testenv:flake8]
skip_install=True
deps=
    flake8
    mccabe
commands =
    flake8 src/setuptools_scm/ testing/ setup.py

[testenv:check_readme]
skip_install=True
setenv = SETUPTOOLS_SCM_PRETEND_VERSION=2.0
deps=
    check-manifest
    docutils
    pygments
commands=
    rst2html.py README.rst {envlogdir}/README.html --strict []
    check-manifest

[testenv:check_dist]
deps=
    wheel
    twine
commands=
    python setup.py clean --all rotate -k 0 -m .whl,.tar.gz,.zip
    python setup.py -q egg_info
    python setup.py -q sdist --formats zip bdist_wheel
    twine check dist/*



[testenv:dist]
deps= wheel
whitelist_externals = rm
commands=
    python setup.py -q clean --all
    python setup.py -q rotate -k 0 -m .egg,.zip,.whl,.tar.gz
    python setup.py -q egg_info
    python setup.py -q sdist --formats zip,bztar bdist_wheel upload


#XXX: envs for hg versions

{'fraction_non_alphanumeric': 0.10365853658536585, 'fraction_numerical': 0.02148664343786295, 'mean_word_length': 3.4223363286264443, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2661771', 'n_tokens_mistral': 1379, 'n_tokens_neox': 1309, 'n_words': 317}