Skip to content

Commit f37d8a5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 80d9310 commit f37d8a5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

utilities/database.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import logging
22
import os
3-
from typing import Any
43

5-
from sqlalchemy import Integer, String, create_engine, ColumnElement
4+
from sqlalchemy import Integer, String, create_engine
65
from sqlalchemy.orm import Mapped, Session, mapped_column
76
from sqlalchemy.orm import DeclarativeBase
8-
from sqlalchemy.exc import NoResultFound
97
from utilities.must_gather_collector import get_base_dir
108

119
LOGGER = logging.getLogger(__name__)
@@ -53,4 +51,3 @@ def get_test_start_time(self, test_name: str) -> int:
5351
start_time_value = 0
5452
LOGGER.warning(f"No test found with name: {test_name}")
5553
return start_time_value
56-

utilities/exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def __str__(self) -> str:
9898

9999
class InvalidArgumentsError(Exception):
100100
"""Raised when mutually exclusive or invalid argument combinations are passed."""
101+
101102
pass
102103

103104

0 commit comments

Comments
 (0)