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
I have a config file named ruff.toml in my directory. If I run ruff format . --config ~/ruff.toml, everything is fine. However, if I put the following settings in vscode
Ruff: Format failed (error: invalid value '~/ruff.toml' for '--config <CONFIG_OPTION>' tip: A --config flag must either be a path to a .toml configuration file or a TOML <KEY> = <VALUE> pair overriding a specific configuration option It looks like you were trying to pass a path to a configuration file. The path ~/ruff.toml does not exist For more information, try '--help'.
The text was updated successfully, but these errors were encountered:
I have a config file named
ruff.toml
in my directory. If I runruff format . --config ~/ruff.toml
, everything is fine. However, if I put the following settings in vscodethen I got the error:
The text was updated successfully, but these errors were encountered: