From b3e3701c5e41d75d54eed2dd1821dfaa2e27d658 Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Thu, 25 Nov 2021 13:18:04 -0600 Subject: [PATCH] Code cleanup --- src/disk_jumble/db.py | 2 +- src/disk_jumble/tests/test_verify.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/disk_jumble/db.py b/src/disk_jumble/db.py index ee93efc..68488f0 100644 --- a/src/disk_jumble/db.py +++ b/src/disk_jumble/db.py @@ -1,6 +1,6 @@ from __future__ import annotations from dataclasses import dataclass -from typing import Iterable, Mapping, Optional +from typing import Any, Iterable, Optional import datetime as dt import itertools diff --git a/src/disk_jumble/tests/test_verify.py b/src/disk_jumble/tests/test_verify.py index d3d4133..f0b4b95 100644 --- a/src/disk_jumble/tests/test_verify.py +++ b/src/disk_jumble/tests/test_verify.py @@ -154,7 +154,7 @@ class Tests(unittest.TestCase): if ( not l.startswith("SET") and not l.startswith("SELECT") # ignore server settings - and not "OWNER TO" in l # and ownership changes + and "OWNER TO" not in l # and ownership changes ) ) cls._conn = psycopg2.connect("") -- 2.30.2