scspell icon indicating copy to clipboard operation
scspell copied to clipboard

Do not control files names

Open 3nids opened this issue 8 years ago • 5 comments

Is there a way not to check spelling of file names?

3nids avatar Jan 11 '17 13:01 3nids

Can you elaborate on what you mean?

The usage is:

$ scspell filename1 filename2 filename3

So if you don't what to not include filename2, then just don't pass it into scspell:

$ scspell filename1 filename3

myint avatar Jan 12 '17 01:01 myint

I tried scspell src/* and it checked spelling of the file names.

3nids avatar Jan 12 '17 06:01 3nids

https://superuser.com/questions/397307/how-to-ignore-certain-filenames-using-find#397325

myint avatar Jan 12 '17 14:01 myint

I meant that it checked the spelling of the filename itself and not only its content. Is that expected?

3nids avatar Jan 16 '17 06:01 3nids

I don't see that behavior. It checks only the contents of the files, not their names:

fortytwo@magrathea:~/tmp$ echo aaaaaaaaaaa > bbbbbbbbb
fortytwo@magrathea:~/tmp$ ~/src/scspell/__main__.py --report-only bb*
bbbbbbbbb:1: 'aaaaaaaaaaa' not found in dictionary (from token 'aaaaaaaaaaa')
fortytwo@magrathea:~/tmp$

Do the files' contents include the filenames? Or could you give an example?

cassella avatar Jan 22 '17 02:01 cassella