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
Running pyproject-fmt pyproject.toml with the following file crashed:
[project]
description = """\ FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) from \ different sources like RSS-feeds, html-pages, various sites and more.\"""
thread '<unnamed>' panicked at common\src\create.rs:22:5:
Could not create string element for "\\ FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) from \\ different sources like RSS-feeds, html-pages, various sites and more.\\"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\liuch\AppData\Roaming\uv\tools\pyproject-fmt\Scripts\pyproject-fmt.exe\__main__.py", line 10, in <module>
sys.exit(runner())
~~~~~~^^
File "C:\Users\liuch\AppData\Roaming\uv\tools\pyproject-fmt\Lib\site-packages\pyproject_fmt\__main__.py", line 98, in runner
return run(PyProjectFormatter(), args)
File "C:\Users\liuch\AppData\Roaming\uv\tools\pyproject-fmt\Lib\site-packages\toml_fmt_common\__init__.py", line 113, in run
results = [_handle_one(info, config) for config in configs]
~~~~~~~~~~~^^^^^^^^^^^^^^
File "C:\Users\liuch\AppData\Roaming\uv\tools\pyproject-fmt\Lib\site-packages\toml_fmt_common\__init__.py", line 255, in _handle_one
formatted = info.format(config.toml, config.opt)
File "C:\Users\liuch\AppData\Roaming\uv\tools\pyproject-fmt\Lib\site-packages\pyproject_fmt\__main__.py", line 88, in format
return format_toml(text, settings)
pyo3_runtime.PanicException: Could not create string element for "\\ FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) from \\ different sources like RSS-feeds, html-pages, various sites and more.\\"
The text was updated successfully, but these errors were encountered:
Running
pyproject-fmt pyproject.toml
with the following file crashed:However, it's totally valid syntax: https://github.com/toml-lang/toml/blob/dc5af251cd348ee053d9355359743767e3d0b123/toml.md?plain=1#L342-L347
Log:
The text was updated successfully, but these errors were encountered: