<commit_before>``SublimePythonCoverage`` is a plugin for Sublime Text 2
that can highlight lines of Python lacking test coverage,
based on the output of Ned Batchelder's
`coverage.py <http://nedbatchelder.com/code/coverage/>`_.

Installation
------------

Use git to check out ``SublimePythonCoverage``
into your Sublime Text 2 ``Packages`` directory.

On OS X::

  $ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
  $ git clone git://github.com/davisagli/SublimePythonCoverage.git


Usage
-----

Highlighting lines missing coverage
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When you open a .py file,
SublimePythonCoverage tries to find coverage information
and highlight all uncovered lines with an outline.

It does this by looking in all parent directories<commit_msg>it's in package control now<commit_after>``SublimePythonCoverage`` is a plugin for Sublime Text 2
that can highlight lines of Python lacking test coverage,
based on the output of Ned Batchelder's
`coverage.py <http://nedbatchelder.com/code/coverage/>`_.

Installation
------------

Set up
`Sublime Package Control <http://wbond.net/sublime_packages/package_control>`_
if you don't have it yet.

Go to Tools > Command Palette.
Type ``Package Control: Install Package`` and hit enter.
Type ``Python Coverage`` and hit enter.
It may take a bit to install as it needs to fetch its dependency, coverage.py.

Usage
-----

Highlighting lines missing coverage
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When you open a .py file,
SublimePythonCoverage tries to find coverage information
and highlight all uncovered lines with an outline.

It does this by looking in all parent directories
{'fraction_non_alphanumeric': 0.12772397094430993, 'fraction_numerical': 0.002421307506053269, 'mean_word_length': 4.455445544554456, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, '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': '1810748', 'n_tokens_mistral': 490, 'n_tokens_neox': 449, 'n_words': 195}