Remove the link to LICENSE from README.rst so that PyPI renders the description correctly. fixes #16

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Correct a comment at the top of fix_dict.py. fixes #14

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Add usage example in README

Closes gh-28
Merge pull request #29 from takluyver/readme-usage-example

Add usage example in README
README.rst: link to six on PyPI.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Always replace `unicode()` with `six.text_type`
Use `next()` instead of `six.advance_iterator`

Closes python-modernize/python-modernize#25
Add a `__main__.py` file to the top directory

Makes it easier to use the tool directly from a checkout.
Merge pull request #36 from brettcannon/modern_next

Use `next()` instead of `six.advance_iterator`
README: say that we target Python 2.6+. refs #33

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Changelog entries since 0.3. refs #33, #36

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Changelog formatting.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Add fix_unicode_callable to the list of fixers requiring six
Merge branch 'master' into unicode_callable
Support coveralls.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Add coverage status badge to README.rst.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Change from fixing unicode() to all references of unicode
'sep' is not used by the print fixer

Should raise coverage of fix_print to 100%
Drop a check in fix_next for an empty base

Since the matching rule is `base+` there will have to be a match for
something.

Should make coverage for fix_next 100%.
add tests for fix_map

Along the way discover an unnecessary limitation in the pattern.