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

Doesn't pick up requirements.txt from root #7

Closed
Dreamsorcerer opened this issue Jan 11, 2020 · 0 comments
Closed

Doesn't pick up requirements.txt from root #7

Dreamsorcerer opened this issue Jan 11, 2020 · 0 comments

Comments

@Dreamsorcerer
Copy link
Contributor

Dreamsorcerer commented Jan 11, 2020

If I run flake8 from a subdirectory, it fails to find the requirements.txt file. It seems to search in the current working directory only.

My suggestion is to look for the requirements.txt file from the root directory (i.e. where the flake8 config lives).

In the root folder I have:
.flake8
requirements.txt
src/

So, when I am cd'd into the src/ directory and run flake8, this is where I'm encountering this error.

@arkq arkq closed this as completed in d2b7eab Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants