We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Formatting in Python doesn't work despite running language servers (ruff and pyright).
Steps to trigger the problem:
=
a = 5
Actual Behavior: Nothing happens -- file doesn't get formatted
Expected Behavior: File should be formatted without extra spaces around the =
I've also attached my settings file:
settings.json
Zed: v0.174.6 (Zed) OS: macOS 12.7.6 Memory: 16 GiB Architecture: x86_64
The text was updated successfully, but these errors were encountered:
I had this same problem yesterday. I am also using pyright and ruff. Try these things:
[tool.pyright] include = ["src"] extraPaths = ["src"] reportMissingImports = true
__pycache__/ *.pyc .pytest_cache/
{ "venvPath": ".", "venv": "venv" }
Sorry, something went wrong.
No branches or pull requests
Summary
Formatting in Python doesn't work despite running language servers (ruff and pyright).
Steps to trigger the problem:
=
sign). For instance:a = 5
Actual Behavior:
Nothing happens -- file doesn't get formatted
Expected Behavior:
File should be formatted without extra spaces around the
=
I've also attached my settings file:
settings.json
Zed Version and System Specs
Zed: v0.174.6 (Zed)
OS: macOS 12.7.6
Memory: 16 GiB
Architecture: x86_64
The text was updated successfully, but these errors were encountered: