Unique list
Added the --list-unique command line argument which enables to only see the unique errors in a report only manner. Thus, recurring not matching tokens will be lumped together as one. Also, shows a list of line numbers beside the token where the token was used.
The list_unique parameter was added to spell_check(), spell_check_file and spell_check_token() functions.
Closes https://github.com/myint/scspell/issues/24
@myint @jayvdb I changed the output file to sys.stderr and also reverted the wrong changes I had made for the backslash issue. So, I think this can be merged now.
@myint Done. 😄
The indentation is still a bit off. But I"m going approve as I suspect this Google thing will be already over the next time I get a chance to log in.
$ pycodestyle scspell/__init__.py
scspell/__init__.py:495:29: E127 continuation line over-indented for visual indent
scspell/__init__.py:515:25: E127 continuation line over-indented for visual indent
scspell/__init__.py:594:37: E127 continuation line over-indented for visual indent