pre-commit-ci[bot]
bfc8151005
chore(pre-commit.ci): pre-commit autoupdate ( #427 )
...
* chore(pre-commit.ci): pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.0 → v0.11.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.0...v0.11.0 )
* chore(pre-commit.ci): auto fixes
* chore: fix violations
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-03-17 11:01:24 -10:00
J. Nick Koston
7e4cab6778
fix: upgrade to ruff 0.1.0 and fix violations ( #422 )
2025-03-13 13:12:13 -10:00
J. Nick Koston
2bad648c61
chore: enable some more ruff rules ( #414 )
2025-03-06 12:49:12 -10:00
pre-commit-ci[bot]
e006a1e861
chore(pre-commit.ci): pre-commit autoupdate ( #365 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 08:48:02 -10:00
J. Nick Koston
eda37061c4
chore: switch to ruff ( #339 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 09:37:35 -10:00
David Lechner
d71f0e1fbd
use asyncio.run() in examples
...
calling `asyncio.get_running_loop()` will fail if there is no running event loop, so we should use `asyncio.run()` instead to create a new loop.
Also, use events for infinite waiting instead of futures since there is no return value.
2022-09-26 12:50:22 -05:00
David Lechner
691ff8e1bf
replace deprecated asyncio.get_event_loop()
...
`asyncio.get_event_loop()` was deprecated in Python 3.10, so we should use `asyncio.get_running_loop()` instead.
2022-09-26 12:43:56 -05:00
J. Nick Koston
36b08afbff
chore: rename
2022-09-09 08:45:49 -05:00
J. Nick Koston
495bfac17f
chore: initial port
2022-09-09 08:43:26 -05:00