<commit_before>[tox]
envlist =
    {docs},
    {js},
    {css}
skip_missing_interpreters =
    true

[testenv:docs]
# Validates the project docs
changedir =
    docs/source
deps =
    -r{toxinidir}/requirements.txt
commands =
    # Checks links
    sphinx-build -b linkcheck ./ {envtmpdir}/html
    # Nitpicks warnings, and turns warnings into errors
    sphinx-build -nW -b html -d {envtmpdir}/doctrees ./ {envtmpdir}/html

[testenv:js]
# Validates the javascript
whitelist_externals =
    npm
commands =
    npm install -g jshint
    jshint ./sphinx_docs_theme/static/js/*

[testenv:css]
# Validates the CSS
whitelist_externals =
    npm
commands =
    npm install -g recess
    recess ./sphinx_docs_theme/static/css/*<commit_msg>Added more whitelisted commands<commit_after>[tox]
envlist =
    {docs},
    {js},
    {css}
skip_missing_interpreters =
    true

[testenv:docs]
# Validates the project docs
changedir =
    docs/source
deps =
    -r{toxinidir}/requirements.txt
commands =
    # Checks links
    sphinx-build -b linkcheck ./ {envtmpdir}/html
    # Nitpicks warnings, and turns warnings into errors
    sphinx-build -nW -b html -d {envtmpdir}/doctrees ./ {envtmpdir}/html

[testenv:js]
# Validates the javascript
whitelist_externals =
    npm
    jshint
commands =
    npm install -g jshint
    jshint ./sphinx_docs_theme/static/js/*

[testenv:css]
# Validates the CSS
whitelist_externals =
    npm
    recess
commands =
    npm install -g recess
    recess ./sphinx_docs_theme/static/css/*
{'fraction_non_alphanumeric': 0.10106382978723404, 'fraction_numerical': 0.0, 'mean_word_length': 3.157458563535912, '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': '1280010', 'n_tokens_mistral': 565, 'n_tokens_neox': 536, 'n_words': 130}