I suppose this is a plugin Api question/feedback.....
# plugins
c
I suppose this is a plugin Api question/feedback.. when creating files in a digest with
FileContent
I happened to pass a
str
rather than
bytes
. What happens was…. deadlock (or something, the tests time out). No warning or nothing. I’m sure mypy would catch this, but it took me a while to figure out why it wouldn’t work.. (as an empty string worked just fine, but that’s most likely an edge case, then…)
h
Ah yes, if the plugin is published then the range makes sense (although a little risky because the Plugin API isn't completely stable yet)
👍 1
The
pants_requirement
tip is more for in-repo plugins. Is that not obvious from the docs? Could you submit a doc fix suggestion if so?
👍 1
c
Yeah, I looked at it, thought it could be, but the structure made me believe not
No, you’re right, I must’ve been reading that page up and down too many times 😛 it clearly is in the section about building in-repo plugins
I’ve made a little tweak, any way..