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

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

Open
mkinney opened this issue Jan 18, 2020 · 2 comments
Open
Labels
bug Something isn't working

Comments

@mkinney
Copy link

mkinney commented Jan 18, 2020

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?

@MichaelAquilina
Copy link
Owner

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 MichaelAquilina added the bug Something isn't working label Jan 19, 2020
@mkinney
Copy link
Author

mkinney commented Jan 19, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants