flake8-spellcheck icon indicating copy to clipboard operation
flake8-spellcheck copied to clipboard

Is there a way to have the `whitelist.txt` used for all subdirectories?

Open mkinney opened this issue 5 years ago • 2 comments

If I put a whitelist.txt in the root of the project, then change to a subdir and run flake8, then the root project's whitelist.txt is not honored.

Is there a way to enable a single whitelist.txt for a project?

mkinney avatar Jan 18 '20 22:01 mkinney

After investigating this a bit, this appears to be some weirdness in the way flake8 works.

Tried using normalize_paths=True but it does not seems to solve the issue.

You would expect flake8 to normalize the paths to the root of where the configuration is - but it does not :/

I'll have to dig a bit more to solve this issue - but it does seem a bit niche at least

MichaelAquilina avatar Jan 19 '20 21:01 MichaelAquilina

Thanks. Let me know if you need any more info.

mkinney avatar Jan 19 '20 23:01 mkinney