I have flake8 installed in pipenv virtual environments on per project basis.
The flake8 docs state that:
Values set at the command line have highest priority, then those in the project configuration file, then those in your user directory, and finally there are the defaults.
As per the docs I created two .flake8 files:
- In the project root - for per project configuration
- /Users/rusl/.config/flake8/.flake8 - for global configuration
When I run flake8 it picks up configuration options from a local file, but it completely ignores the global file.
How can I make flake8 see the global configuration file so I don't have to repeat some configuration options in every project?
~/.config/flake8
. That's a file, not a directory. – Zaragoza