Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not control files names #18

Open
3nids opened this issue Jan 11, 2017 · 5 comments
Open

Do not control files names #18

3nids opened this issue Jan 11, 2017 · 5 comments
Labels

Comments

@3nids
Copy link

3nids commented Jan 11, 2017

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

@myint
Copy link
Owner

myint commented Jan 12, 2017

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

@3nids
Copy link
Author

3nids commented Jan 12, 2017

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

@myint
Copy link
Owner

myint commented Jan 12, 2017

@3nids
Copy link
Author

3nids commented Jan 16, 2017

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

@cassella
Copy link
Contributor

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?

@myint myint added the question label Jan 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants