chore: update linters (#2095)

* update deps

* ruff auto-fixes

* refactor match statements where possible
This commit is contained in:
Hayden
2023-02-05 09:51:44 -09:00
committed by GitHub
parent d5efaad2c3
commit f3a26f864d
11 changed files with 81 additions and 104 deletions

View File

@@ -4,9 +4,10 @@
import asyncio
import logging
from asyncio import ensure_future
from collections.abc import Callable, Coroutine
from functools import wraps
from traceback import format_exception
from typing import Any, Callable, Coroutine
from typing import Any
from starlette.concurrency import run_in_threadpool