On Fri, Mar 24, 2017 at 8:50 PM, Brent Goodrick <bgo...@gmail.com> wrote: > At http://flake8.readthedocs.io/en/latest/user/configuration.html I see: > > > Note that Flake8 looks for ~\.flake8 on Windows and ~/.config/flake8 on > > Linux and other Unix systems.
So we will respect XDG_CONFIG_HOME variables and if those are unset, then we will use ~/.config/. > But only ~/.flake8 seems to be read. > > bash-4.1$ flake8 --version > 3.3.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.5.0) CPython 2.7.6 on > Linux That is quite unusual. Did you run flake with -vv to see what files it is finding? If not, can you do so now? > My system is a RHEL6.8 Linux machine: > > bash-4.1$ cat /etc/issue > Red Hat Enterprise Linux Workstation release 6.8 (Santiago) > Kernel \r on an \m > > Is this a bug in the documentation? I do not see it as a problem to have it > be in ~/.flake8. I don't think this is a bug in the documentation. The code reflects reality pretty well: https://gitlab.com/pycqa/flake8/blob/733a4f053b093d0d061ce780963e936861327c95/src/flake8/options/config.py#L116 My issue with supporting ~/.flake8 is with the problem that we would then have to support ~/.config/flake and ~/.flake8 and which would take precedence in the event that both exist? People don't want Flake8 to error out because they did something silly with their config files, but that would be our only option and it would not be pretty. _______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality