<commit_before><commit_msg>adding YAPF (Yet Another Python Formatter)<commit_after>from spack import *

class PyYapf(Package):
    """ Yet Another Python Formatter """
    homepage = "https://github.com/google/yapf"
    # base https://pypi.python.org/pypi/cffi
    url      = "https://github.com/google/yapf/archive/v0.2.1.tar.gz"

    version('0.2.1', '<PASSWORD>')

    extends('python')
    depends_on('py-setuptools')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)
{'fraction_non_alphanumeric': 0.1746641074856046, 'fraction_numerical': 0.011516314779270634, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 3, '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': '4317031', 'n_tokens_mistral': 188, 'n_tokens_neox': 182, 'n_words': 32}