1. 21 Jul, 2021 2 commits
  2. 18 Jul, 2021 1 commit
  3. 16 Jul, 2021 5 commits
    • Gigadoc 2's avatar
      simplify and fix simple_cmd arg matching · fece6f07
      Gigadoc 2 authored
      Turns out "inspect" could do this all along. The error messages might be
      slightly less helpful now, but the matching is more reliable now (it
      would sometimes not count kwargs before).
      fece6f07
    • Gigadoc 2's avatar
      callback wrappers: return after exception handling · c05de433
      Gigadoc 2 authored
      This was not necessary when the callback was called from within the
      try-block, but since it has been moved out of that block (so that we
      don't handle exceptions thrown by the callback _itself_), the library
      would continue to call the callback even when it shouldn't.
      c05de433
    • Gigadoc 2's avatar
      make the multiarg test verbose · 6133891d
      Gigadoc 2 authored
      6133891d
    • Gigadoc 2's avatar
      cast simple_cmd return values to strings · c415af88
      Gigadoc 2 authored
      Otherwise if some command returns a number it will also be put as a
      number type in the JSON. Funnily enough the matrix-bot _accepts_
      non-strings as a message and passes them on to the matrix server without
      error, at which point the server just throws the message away.
      c415af88
    • Gigadoc 2's avatar
      add direnv stuff to gitignore · f0f61dc3
      Gigadoc 2 authored
      While this library is explicitly meant to be usable _without_ a virtual
      environment of any kind, I use one to test it against python 3.6.
      f0f61dc3
  4. 15 Jul, 2021 3 commits
  5. 06 Dec, 2018 1 commit