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
All checks passed!
error: Panicked while linting /home/rafal/test/tmp_folder/15358500963919727445.py: This indicates a bug in Ruff. If you could open an issue at:
https://github.com/astral-sh/ruff/issues/new?title=%5BLinter%20panic%5D
...with the relevant file contents, the `pyproject.toml` settings, and the following stack trace, we'd be very appreciative!
panicked at crates/ruff_python_codegen/src/stylist.rs:112:51:
byte index 1 is not a char boundary; it is inside '\u{a0}' (bytes 0..2) of ` mp} assertot yt`
Backtrace: 0: ruff::panic::catch_unwind::{{closure}}
1: std::panicking::rust_panic_with_hook
2: std::panicking::begin_panic_handler::{{closure}}
3: std::sys_common::backtrace::__rust_end_short_backtrace
4: rust_begin_unwind
5: core::panicking::panic_fmt
6: core::str::slice_error_fail_rt
7: core::str::slice_error_fail
8: ruff_python_codegen::stylist::Stylist::from_tokens
9: ruff_linter::linter::lint_fix
10: ruff::diagnostics::lint_path
11: ruff::commands::check::lint_path
12: rayon::iter::plumbing::Producer::fold_with
13: rayon::iter::plumbing::bridge_producer_consumer::helper
14: ruff::commands::check::check
15: ruff::check
16: ruff::run
17: ruff::main
18: std::sys_common::backtrace::__rust_begin_short_backtrace
19: std::rt::lang_start::{{closure}}
20: std::rt::lang_start_internal
21: main
22: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
23: __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
24: _start
ruff 0.4.6 (latest changes from main branch)
file content:
error
python_compressed.zip
The text was updated successfully, but these errors were encountered: