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 appears to work without the unicode feature, i.e. with heck = "0.4.0", but when I add the unicode feature then the assert stmts seem to fail. I might be wrong, but for valid snake case it might be worth removing the . and the , in the results. Basically, in my use case I want to turn a bunch of words into valid identifier names in python -- so for ex. a_b_c = 2 would work out in my use case, but with special chars it would fail. Is it possible to just have a _ in the returned string?
Side note: also 2this is not a valid identifier in python, but I understand that's not a goal of this library for obvious reasons of course.
The text was updated successfully, but these errors were encountered:
Awesome, no worries and thanks. Also, just wanted to add I appreciate the great work you are putting into this and with integrating with some cool Rust libraries.
Just curious. Basically, in the context of this line:
pyheck/Cargo.toml
Line 17 in 28fa3d9
I'm not too sure about what the
unicode
feature is myself, reading up on it in theheck
docs now.Currently i have some test code in rust at least:
this appears to work without the
unicode
feature, i.e. withheck = "0.4.0"
, but when I add the unicode feature then the assert stmts seem to fail. I might be wrong, but for valid snake case it might be worth removing the.
and the,
in the results. Basically, in my use case I want to turn a bunch of words into valid identifier names in python -- so for ex.a_b_c = 2
would work out in my use case, but with special chars it would fail. Is it possible to just have a_
in the returned string?Side note: also
2this
is not a valid identifier in python, but I understand that's not a goal of this library for obvious reasons of course.The text was updated successfully, but these errors were encountered: