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
This is a bit tricky given the way the extension is implemented. Is there a reason that you don't define your preferred line length in a pyproject.toml, where it can be read and obeyed by ufmt/black, regardless of whether it's running from VS Code or CLI?
Thank you for your reply! I really like ufmt, and I use it as my default Python formatter.
So it runs for my ad-hoc script as well. And in this case, usually it's not in a project, and there's no pyproject.toml.
Not sure if it's possible to generate some global config pyproject.toml, and put it in ~/.vscode/ for example. Then use it as the "default" config?
For black, we can set the line length in "Python > Formatting: Black Args". Is it possible to have something similar for ufmt?
Thanks!
The text was updated successfully, but these errors were encountered: