You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currenlty README.md states that flake8 configuration is looked for in ~/.config/flake8, setup.cfg, tox.ini and flake8.cfg. Why isn't .flake8 supported?
Is `flake8` who handles the discovery of its configuration or does `python-lsp-server` do it instead? I'm a bit confused because the README lists the files that are considewred as if `python-lsp-server` handled the discovery.
`flake8` already looks for `.flake8` so nothing to do there. If something needs to change in `python-lsp-server` to discover `.flake8` then I'll happily create a MR for that.
Cheers.
On Tue, Jun 14, 2022 at 06:14:58AM -0700, Carlos Cordoba wrote:
Probably because the author of the flake8 plugin forgot to do it. But you're welcome to send us a pull request to add support for it.
--
Reply to this email directly or view it on GitHub:
#219 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
The documentation about Flake8 plugin is wrong : according to pylsp/config/flake8_conf.py, Flake8 configuration is looked for in .flake8, setup.cfg and tox.ini :
Activity
ccordoba12 commentedon Jun 14, 2022
Probably because the author of the flake8 plugin forgot to do it. But you're welcome to send us a pull request to add support for it.
m0wer commentedon Jun 14, 2022
ccordoba12 commentedon Jun 14, 2022
The server does the discovery.
lcheylus commentedon Jun 28, 2022
The documentation about Flake8 plugin is wrong : according to
pylsp/config/flake8_conf.py, Flake8 configuration is looked for in.flake8,setup.cfgandtox.ini:Moreover Flake8 4.0 does not read anymore its configuration in
~/.config/flake8but only in.flake8,setup.cfgandtox.iniin a project directory (see https://flake8.pycqa.org/en/latest/user/configuration.html).Fix documentation for location of Flake8 configuration files
Fix documentation for location of Flake8 configuration files
Fix documentation for location of Flake8 configuration files (#233)