Read per-project config from current directory
flake8 reads per-project config from $PWD/tox.ini
or $PWD/setup.cfg
, but not from $PWD/flake8.cfg
(or similar).
I don't like to have my flake8 settings in the config files of other tools (seems like a bad idea, to be honest), and having to pass --config
on the command line all the time is bad. Developers tend to forget it, and then they run flake8 with the wrong configuration.
I think it would be nice if this behaviour could be changed. However, I am not sure if there is a good way to do this in a backwards-compatible manner. Maybe if the config file in $PWD
had the lowest priority? But is this a good idea?
If there is agreement about this issue, I'd volunteer to implement a solution.