bump ruff and do fixes (#2375)

This commit is contained in:
Hayden
2023-05-05 14:43:23 -08:00
committed by GitHub
parent f27bb00dc3
commit 23786c1f5e
8 changed files with 26 additions and 30 deletions

View File

@@ -281,7 +281,7 @@ def clean_notes(notes: typing.Any) -> list[dict] | None:
parsed_notes: list[dict] = []
for note in notes:
if not isinstance(note, (str, dict)):
if not isinstance(note, str | dict):
continue
if isinstance(note, dict):