39 Commits

Author SHA1 Message Date
f9f8d1fcca Add missing space in help (#534) 2018-06-04 09:18:16 -04:00
a53944917f FIX: Bump version to 0.14.0.dev0 2018-05-17 11:52:01 -04:00
b86ae67243 FIX: Bump version 2018-05-17 11:50:40 -04:00
50bcf82833 FIX: Caps and pytest (#482)
* FIX: Caps and pytest

* FIX: Check in code

* FIX: Check for unique names

* FIX: Minor fixes

* FIX: More checks
2018-05-07 13:27:48 -04:00
d44420c291 Add the Unicode apostrophe as a word separator (#418)
* Add the Unicode apostrophe as a word separator

* Also add `

* try ur"" instead u""

* And remove the 'r'
2018-04-24 10:44:46 -04:00
203c43ff44 Drop path in help output to make the build reproducible (#420)
Closes #419
2018-03-29 11:06:41 -04:00
57e268336e FIX: Bump version 2018-03-09 12:03:28 -05:00
00cc2174d2 FIX: Bump version 2018-03-09 12:01:58 -05:00
493535cf8c Improve grammar in description of "-i" (#384) 2018-03-06 09:23:40 -05:00
6a3723a0e3 FIX: Bump version 2017-11-27 09:43:21 -05:00
a2d53ef09e FIX: Bump version 2017-11-27 09:40:03 -05:00
e2127ba6bc FIX: Fix test 2017-11-15 13:09:58 -05:00
70b96d4567 FIX: Fix for Windows 2017-11-15 11:42:52 -05:00
3f0dc50ce5 FIX: Wrap properly 2017-11-15 11:42:52 -05:00
c0315245bf Merge pull request #144 from thdot/check-filenames
Add new --check-filenames option to check file names as well
2017-10-09 11:12:00 -04:00
b78dcae830 Further elaborate on codespell -I in --help output
Also includes a format refinement to README.rst
2017-10-09 11:05:38 -04:00
c7ffd4e50c Add new --check-filenames option to check file names as well
A new command line option -f / --check-filenames is implemented which
enables the check of the given file names.
2017-10-05 21:21:46 +02:00
66cc33c230 Skip relative directories
The current code already allows skipping directories, but the full path
must be given, e.g. "./.git" instead of just ".git", as "codespell ." is
the default.

Allow --skip to be used with relative directory names, too.
2017-08-17 17:26:00 +02:00
32781f9c31 Check filename early
The check works on the relative file name, so move the check before
calling join() to build the complete path name.
2017-08-17 16:21:04 +02:00
b91f7c76b4 Skip directories early
The current code already allows skipping directories, but the full path
must be given, e.g. "./.git" instead of just ".git", as "codespell ." is
the default.

As the name of the directory is constant for all files within, move the
check for the directory before the loop.

Also skip descending.
2017-08-17 16:20:48 +02:00
3bb1f6a050 Add new --ignore-words option to ignore 'good' words
A new command line option -I / --ignore-words is implemented to specify
one or multiple files containing 'good' words which codespell will
ignore.
2017-03-21 21:50:03 -07:00
22a4afe304 FIX: Bump version 2017-03-15 10:10:41 -04:00
f8780fa092 FIX: Fix version 2017-03-15 10:08:11 -04:00
66c527b3d1 Add new --regex option to set regular expression used to find words
A new command line option -r / --regex is implemented to allow the user
to set the regular expression which is used to find the words in the
input lines. This is useful in projects where you want to overwrite the
default expression, for example to split words after an underscore like
in ID_ESTABLISED.
The new regex option cannot be used together with the --write-changes
functionality since it is not guarantied that this will not break code.
2017-03-07 07:54:35 -08:00
f75e2e9e64 Fix travis-ci build error 2017-01-04 21:23:24 +01:00
ff5e858aa5 Change the line numbering in display to 1-based 2017-01-04 12:06:20 -08:00
040e1109d3 Compile regular expression only once
The regular expression for splitting a line into words can be compiled
at startup instead for every file again. This gives some minor
performance improvements, especially when parsing a lot of files.
2016-11-12 23:57:44 -08:00
171568f13d Enhance --dictionary option to allow multiple dictionaries
Enhance the --dictionary option so that multiple dictionary files can
be specified at the command line. With this feature projects can use 
the standard dictionary and in addition their own custom files.
2016-11-12 23:57:44 -08:00
2737d6f2bd Fix off-by-one error 2016-08-31 15:43:34 +09:00
94ddc3369b FIX: Back to dev 2016-06-17 16:57:11 -04:00
4dbb0e5f5d FIX: Version for bugfix release 2016-06-17 16:55:43 -04:00
626a180188 FIX: Fix version 2016-06-16 13:22:24 -04:00
a9f2ed43f6 FIX: Fix packaging 2016-06-16 13:18:57 -04:00
f279a2508e FIX: Bump version 2016-06-09 15:12:18 -04:00
8339cb5931 FIX: Fix readme 2016-06-09 14:52:52 -04:00
0d91bf2cd6 ENH: Increase coverage 2016-04-27 12:21:57 -04:00
b266720d26 ENH: Skip directories 2016-04-27 10:38:34 -04:00
dc39dfcf53 ENH: Add Python2.7 support 2016-04-27 10:34:41 -04:00
b400e4250d ENH: Restructure for Travis 2016-04-27 10:18:36 -04:00