db775bb386
codespell 0.9
2011-02-01 00:17:23 -02:00
20e27616ac
Add copyright
2011-02-01 00:16:53 -02:00
7d75296376
Add version support
2011-02-01 00:16:06 -02:00
9c236af20b
Write changes to file
2011-01-31 16:19:03 -02:00
b14f8e2acd
Read all file into memory
2011-01-31 14:46:09 -02:00
23109a5118
Prune search on hidden directories
2011-01-31 11:31:28 -02:00
29ff5974eb
Add function to detect hidden file
2011-01-31 11:31:11 -02:00
b839d7e7a5
Ignore binary files and warn on encoding error
2011-01-31 11:01:35 -02:00
a7a13118a5
Correctly detect hidden files/dirs
2011-01-31 09:53:46 -02:00
bcecc37e64
Print reason
...
Example:
$ ./codespell.py -d example/dict.txt example/code.c
example/code.c:9: clas ==> class | disabled due to name clash in c++
example/code.c:10: tis ==> this
example/code.c:14: opem ==> open
example/code.c:16: buring ==> burying, burning, burin, during
example/code.c:17: clas ==> class | disabled due to name clash in c++
2011-01-29 11:03:24 -02:00
b11405edf7
Remove reason from suggested fixes
...
If there's a reason why a change is not a 1:1, do not print it in the
list of suggestions.
2011-01-29 10:58:17 -02:00
cc01ea5675
Use similar colors when using stdin
2011-01-29 10:05:26 -02:00
acba842ee5
Accept code in stdin
2011-01-29 10:03:38 -02:00
febf438c3f
Do not accept dict from stdin
...
When checking patches instead of files, it's better to have the patch in
stdin and dict always as a file. Checking stdin instead of a file will
be added later.
2011-01-29 09:37:41 -02:00
efee004ca6
Don't disable colors when not tty
...
Otherwise './codespell dict file | less -R' will be always withou
colors, not really what we want.
2011-01-29 09:31:55 -02:00
c72a29d0d6
Don't care about upper or lower case in args
2011-01-29 09:30:22 -02:00
7c6d07f2d0
Add option to parse recursively
2011-01-28 23:37:24 -02:00
1487a0ab4d
add option to disable colors
2011-01-28 23:02:46 -02:00
97a4c8822d
remove unnecessary long phrase
2011-01-28 22:59:40 -02:00
3f31be0255
codespell itself
2011-01-28 15:22:40 -02:00
95f7c2654e
Import initial version
2011-01-28 15:20:16 -02:00