<commit_before>from __future__ import print_function

import os
import sys
import subprocess
import traceback
import glob


print('Using python: {prefix}'.format(prefix=sys.prefix))

repo_tag = os.environ.get('APPVEYOR_REPO_TAG', 'false')
tag_name = os.environ.get('APPVEYOR_REPO_TAG_NAME', '')
token = os.environ.get('PYPI_PASS', '<PASSWORD>A_TOKEN')

if repo_tag == 'true' and tag_name.startswith('v'):
    pass
else:
    print('Not a tagged release. Not deploying to PyPI.')
    return

print('Uploading to PyPI')

try:
    cmd = ' '.join(['twine', 'upload', '-u', 'mcflugen', '-p', token,
                    'dist/*'])
    resp = subprocess.check_output(cmd, shell=True)
except subprocess.CalledProcessError:
    traceback.print_exc()
else:
    print('OK')<commit_msg>Fixed typo.<commit_after>from __future__ import print_function

import os
import sys
import subprocess
import traceback
import glob


print('Using python: {prefix}'.format(prefix=sys.prefix))

repo_tag = os.environ.get('APPVEYOR_REPO_TAG', 'false')
tag_name = os.environ.get('APPVEYOR_REPO_TAG_NAME', '')
token = os.environ.get('PYPI_PASS', 'NOT_A_TOKEN')

if repo_tag == 'true' and tag_name.startswith('v'):
    print('Uploading to PyPI')

    try:
        cmd = ' '.join(['twine', 'upload', '-u', 'mcflugen', '-p', token,
                        'dist/*'])
        resp = subprocess.check_output(cmd, shell=True)
    except subprocess.CalledProcessError:
        traceback.print_exc()
    else:
        print('OK')
else:
    print('Not a tagged release. Not deploying to PyPI.')
{'fraction_non_alphanumeric': 0.14745653573728268, 'fraction_numerical': 0.0, 'mean_word_length': 4.012903225806451, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2731138', 'n_tokens_mistral': 531, 'n_tokens_neox': 533, 'n_words': 120}