diff --git a/server/fishtest/rundb.py b/server/fishtest/rundb.py index f3fb55a0d..3dfd2c794 100644 --- a/server/fishtest/rundb.py +++ b/server/fishtest/rundb.py @@ -1,10 +1,8 @@ -import configparser import copy import math import os import random import re -import signal import sys import textwrap import threading diff --git a/server/fishtest/util.py b/server/fishtest/util.py index 111233723..f268d8a1f 100644 --- a/server/fishtest/util.py +++ b/server/fishtest/util.py @@ -2,9 +2,7 @@ import hashlib import math import re -import smtplib from datetime import datetime, timedelta, timezone -from email.mime.text import MIMEText from functools import cache import fishtest.stats.stat_util diff --git a/server/fishtest/views.py b/server/fishtest/views.py index 150d21c8e..0b580766e 100644 --- a/server/fishtest/views.py +++ b/server/fishtest/views.py @@ -10,7 +10,6 @@ import fishtest.stats.stat_util import requests -from bson.objectid import ObjectId from fishtest.schemas import short_worker_name from fishtest.util import ( email_valid, @@ -25,7 +24,7 @@ password_strength, update_residuals, ) -from pyramid.httpexceptions import HTTPFound, HTTPNotFound, exception_response +from pyramid.httpexceptions import HTTPFound, HTTPNotFound from pyramid.security import forget, remember from pyramid.view import forbidden_view_config, notfound_view_config, view_config from requests.exceptions import ConnectionError, HTTPError