Skip to content

Commit

Permalink
ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshod5 committed May 1, 2024
1 parent 42568f9 commit 0388ed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/api/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import typing as t

import sqlmodel
from pydantic import create_model
from sqlalchemy import func
from sqlalchemy.sql.operators import is_, is_not
Expand Down
5 changes: 2 additions & 3 deletions src/archive/mast.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import re
import typing as t
import uuid
from asyncio import QueueEmpty
from dataclasses import dataclass
from multiprocessing import Process, Queue
from multiprocessing import Process
from typing import Optional

import numpy as np
Expand Down Expand Up @@ -213,7 +212,7 @@ def _get_dataset_attributes(self, signal_name: str, signal) -> dict:
for field in metadata:
try:
attrs[field] = getattr(signal, field)
except TypeError as exception:
except TypeError:
pass

for key, attr in attrs.items():
Expand Down

0 comments on commit 0388ed9

Please sign in to comment.