-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedContributions especially welcomeContributions especially welcome
Description
Ruff 0.0.287 (latest changes from main branch)
ruff *.py --select D209 --no-cache
file content:
def raiseSoapError(e):
def GetParamTipoExpo(self):
"Recuperar lista de valores referenciales de c�digos de Tipo de \
exportaci�n"
error:
panicked at 'byte index 220 is not a char boundary; it is inside '�' (bytes 218..221) of `def raiseSoapError(e):
raise COMException(
source=u"SOAP "+unicode(e.faultcode))
def GetParamTipoExpo(self):
"Recuperar lista de valores referenciales de c�digos de Tipo de \
exportaci�n"`', /home/rafal/test/ruff/crates/ruff_source_file/src/locator.rs:447:10
Backtrace: 0: ruff_cli::panic::catch_unwind::{{closure}}
1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/alloc/src/boxed.rs:2007:9
2: std::panicking::rust_panic_with_hook
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:709:13
3: std::panicking::begin_panic_handler::{{closure}}
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:597:13
4: std::sys_common::backtrace::__rust_end_short_backtrace
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/sys_common/backtrace.rs:151:18
5: rust_begin_unwind
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
6: core::panicking::panic_fmt
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
7: core::str::slice_error_fail_rt
8: core::str::slice_error_fail
at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/str/mod.rs:87:9
9: ruff::linter::lint_fix
10: ruff_cli::diagnostics::lint_path
11: rayon::iter::plumbing::bridge_producer_consumer::helper
12: ruff_cli::commands::check::check
13: ruff_cli::check
14: ruff_cli::run
15: ruff::main
16: std::sys_common::backtrace::__rust_begin_short_backtrace
17: main
18: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
19: __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
20: _start
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedContributions especially welcomeContributions especially welcome