-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
Flake8 does not find user config as documentation claims (4.0+ docs are wrong) #1435
Comments
ok after some more digging I realize the docs didn't got updated to reflect this breaking change. Ironically, this change was made to drop support for a feature that confused folks who didn't bother to read the docs, but I was confused by flake8's behavior because I did read them... These incorrect bits should be removed, and I think this change would be less punishing if this change of behavior were easier to find without digging into the change log. I think it would be best to put a notice that support for this feature was dropped in the same place that describes where flake8 looks for configs (i.e., replace the user config section with "DEPRECATED: As of 4.0 flake8 no longer supports...") I'll submit a PR when I have time to familiarize myself with editing the docs but as of now I'm working 80 hours/week and debugging this cost half a night of sleep |
this was already fixed, you're looking at an old version of the docs -- make sure you're looking at latest |
@asottile Thanks! I didn't notice it was fixed on latest. i usually check in the future ill check in on latest even if installed from pypi thx for all your hard work |
a release would create a lot of toil despite no code changes so that's not going to happen |
Please describe how you installed Flake8
Please provide the exact, unmodified output of
flake8 --bug-report
N/A (docs are wrong) but here it is anyway
Please describe the problem or feature
The documentation for 4+ claims global user configuration is loaded on *nix systems from
~/.config/flake8
.As of 4.0, this is no longer true.
If this is a bug report, please explain with examples (and example code) what you expected to happen and what actually happened.
note: flake8 only happened to find the config file in the home directory because it was a parent of the 'test proj dir'
The text was updated successfully, but these errors were encountered: