<commit_before>#!/bin/sh
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python2.4 python2.4-dev python2.5 python2.5-dev python2.6 python2.6-dev python3.4 python3.4-dev

pip install --use-mirrors --upgrade detox misspellings docutils

virtualenv old_pythons
old_pythons/bin/pip install pip==1.3 virtualenv==1.7.2 tox==1.4
old_pythons/bin/tox -e py24,py25

find src/ -name "*.py" | misspellings -f -
detox<commit_msg>Install docutils to old_python env at drone.io<commit_after>#!/bin/sh
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python2.4 python2.4-dev python2.5 python2.5-dev python2.6 python2.6-dev python3.4 python3.4-dev

virtualenv old_pythons
old_pythons/bin/pip install pip==1.3 virtualenv==1.7.2 tox==1.4 docutils
old_pythons/bin/tox -e py24,py25

pip install --use-mirrors --upgrade detox misspellings docutils
find src/ -name "*.py" | misspellings -f -
detox
{'fraction_non_alphanumeric': 0.1167192429022082, 'fraction_numerical': 0.056782334384858045, 'mean_word_length': 4.409090909090909, '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': '4347584', 'n_tokens_mistral': 392, 'n_tokens_neox': 368, 'n_words': 90}