[refurb] Implement hashlib-digest-hex (FURB181)#9077
[refurb] Implement hashlib-digest-hex (FURB181)#9077charliermarsh merged 3 commits intoastral-sh:mainfrom
refurb] Implement hashlib-digest-hex (FURB181)#9077Conversation
refurb] Implement hashlib-digest-hex (FURB181)
|
|
|
||
| # not yet supported | ||
| h = sha256() | ||
| h.digest().hex() |
There was a problem hiding this comment.
It's not-impossible for us to detect this, you could look at what we do in TRIO115 where we map from name to value. There's also a general utility in draft here (#8583), but not merged. Either way, not a requirement for merging, just making a mental note for myself if anything.
There was a problem hiding this comment.
Interesting, nice utility. Would be good to revisit once that PR is merged!
For myself, I took this easy rule to get back at ruff developing after a while. I'm keen to go the more challenging implementation of using the fluid interface (dosisod/refurb#286). This impacts a lot of data engineering (e.g. spark) and data science (pytorch etc.) code I see come by.
Summary
Implementation of Refurb FURB181
Part of #1348
Test Plan
Test cases from Refurb