<commit_before>#!/bin/bash
# /travis/python-test-module.sh
#
# Downloads scripts common to all polysquare python projects and run
# tests and linters. The MODULE environment variable must be set.
#
# See LICENCE.md for Copyright information

set -e

wget public-travis-scripts.polysquare.org/prepare-lang-cache.sh
wget public-travis-scripts.polysquare.org/python-lint.sh
wget public-travis-scripts.polysquare.org/python-tests.sh
wget public-travis-scripts.polysquare.org/project-lint.sh

bash project-lint.sh -d . -e py
bash python-lint.sh -m "${MODULE}"
bash python-tests.sh -m "${MODULE}"
bash prepare-lang-cache -l haskell -p ~/virtualenv<commit_msg>Script filename is prepare-lang-cache*.sh*<commit_after>#!/bin/bash
# /travis/python-test-module.sh
#
# Downloads scripts common to all polysquare python projects and run
# tests and linters. The MODULE environment variable must be set.
#
# See LICENCE.md for Copyright information

set -e

wget public-travis-scripts.polysquare.org/prepare-lang-cache.sh
wget public-travis-scripts.polysquare.org/python-lint.sh
wget public-travis-scripts.polysquare.org/python-tests.sh
wget public-travis-scripts.polysquare.org/project-lint.sh

bash project-lint.sh -d . -e py
bash python-lint.sh -m "${MODULE}"
bash python-tests.sh -m "${MODULE}"
bash prepare-lang-cache.sh -l haskell -p ~/virtualenv
{'fraction_non_alphanumeric': 0.1210762331838565, 'fraction_numerical': 0.0, 'mean_word_length': 4.356, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6411341', 'n_tokens_mistral': 463, 'n_tokens_neox': 460, 'n_words': 114}