Skip to content
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

yapf formatting fails when pyproject.toml is in the workspace #260

Closed
masad-frost opened this issue Sep 1, 2022 · 1 comment · Fixed by #346
Closed

yapf formatting fails when pyproject.toml is in the workspace #260

masad-frost opened this issue Sep 1, 2022 · 1 comment · Fixed by #346
Milestone

Comments

@masad-frost
Copy link
Contributor

masad-frost commented Sep 1, 2022

Version: 1.5.0

Steps to reproduce:

  • Create workspace with pyproject.toml
  • Install pylsp with yapf
  • send a format request (must include options)
  • error formatting error: toml package is needed for using pyproject.toml as a configuration file

I think I introduced this regression in #134.

Should we add toml as a requirement for yapf formatter like whatthepatch?

@ccordoba12
Copy link
Member

Sure, I see no problem with that.

SFrijters added a commit to SFrijters/nixpkgs that referenced this issue Nov 22, 2022
…nal dependency

This is no longer implicitly provided by python3Packages.autopep8, causing tests to fail.
Upstream issue: python-lsp/python-lsp-server#260
bjornfor pushed a commit to NixOS/nixpkgs that referenced this issue Nov 23, 2022
…nal dependency

This is no longer implicitly provided by python3Packages.autopep8, causing tests to fail.
Upstream issue: python-lsp/python-lsp-server#260
github-actions bot pushed a commit to NixOS/nixpkgs that referenced this issue Nov 23, 2022
…nal dependency

This is no longer implicitly provided by python3Packages.autopep8, causing tests to fail.
Upstream issue: python-lsp/python-lsp-server#260

(cherry picked from commit 608724d)
bjornfor pushed a commit to NixOS/nixpkgs that referenced this issue Nov 23, 2022
…nal dependency

This is no longer implicitly provided by python3Packages.autopep8, causing tests to fail.
Upstream issue: python-lsp/python-lsp-server#260

(cherry picked from commit 608724d)
@ccordoba12 ccordoba12 added this to the v1.7.2 milestone Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants