add alarms-list output formats#1438
Conversation
mathstuf
left a comment
There was a problem hiding this comment.
Code looks reasonable to me; needs some pre-commit love though.
|
I am unable to see the failure of pre-commit.ci, I only see Internal Service error sent as json (??). Is this temporary or am I missing smthing? |
|
Interesting; it works with uBlock Origin for me; maybe something is interfering with full networking? Anyways, here is the output: |
|
@DhruvaSambrani sounds like a temporary glitch. You can also run these checks with |
|
I can fix it either by typing the attributes dict explicitly, or serialize json to keep the same type. If I change the type to This can also be fixed by typing it as The other way is to use a TypedDict, but that seems too complicated for a pre-ci fix. |
54b6e63 to
7b801dc
Compare
|
eta on this? |
Adds
--formatand--jsonto list alarms. Semi-fixes #148, actual alarm implementation can be done externally.