<commit_before>Releasing a new version
-----------------------

* Run tests: python setup.py test
  [don't forget to run with Python 2.7 and 3.4]

* Bump version in yapf/__init__.py

* Build source distribution: python setup.py sdist

* Check it looks OK, install it onto a virtualenv, run tests, run yapf as a tool

* Push to PyPI: python setup.py sdist upload

* Commit the version bump; add tag with git tag v<VERSION_NUM>; git push --tags

TODO: figure out a way to make tox work to make virtualenv testing easier.<commit_msg>Update HACKING guide to test pip installs<commit_after>Releasing a new version
-----------------------

* Run tests: python setup.py test
  [don't forget to run with Python 2.7 and 3.4]

* Bump version in yapf/__init__.py

* Build source distribution: python setup.py sdist

* Check it looks OK, install it onto a virtualenv, run tests, run yapf as a tool

* Push to PyPI: python setup.py sdist upload

* Test in a clean virtualenv that 'pip install yapf' works with the new version

* Commit the version bump; add tag with git tag v<VERSION_NUM>; git push --tags

TODO: figure out a way to make tox work to make virtualenv testing easier.
{'fraction_non_alphanumeric': 0.09837467921300257, 'fraction_numerical': 0.006843455945252352, 'mean_word_length': 3.2545454545454544, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '165809', 'n_tokens_mistral': 352, 'n_tokens_neox': 340, 'n_words': 175}