This PR implements the solution proposed in https://github.com/python-lsp/python-lsp-server/issues/406 to not set the cwd keyword argument in the flake8 process runner whenever the document root is empty. This helps prevent errors in windows, which apparently doesn't like an empty cwd.
This PR implements the solution proposed in https://github.com/python-lsp/python-lsp-server/issues/406 to not set the
cwd
keyword argument in the flake8 process runner whenever the document root is empty. This helps prevent errors in windows, which apparently doesn't like an empty cwd.Fixes #406.