diff --git a/alpenhorn_chime/detection.py b/alpenhorn_chime/detection.py index 07d0b7a..8b35fd4 100644 --- a/alpenhorn_chime/detection.py +++ b/alpenhorn_chime/detection.py @@ -4,6 +4,7 @@ is performed by pattern matching on the acqusition directory and filename. """ + from __future__ import annotations from typing import TYPE_CHECKING diff --git a/pyproject.toml b/pyproject.toml index 1207757..a0a1c93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0.", "wheel", "setuptools-git-versioning"] -build-backed = "setuptools.build_meta" +requires = ["setuptools>=61.0.0", "wheel", "setuptools-git-versioning"] +build-backend = "setuptools.build_meta" [project] name = "alpenhorn_chime" diff --git a/test/conftest.py b/test/conftest.py index 911bfdc..0522da5 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -4,7 +4,7 @@ import chimedb.core as db from alpenhorn import db as adb from alpenhorn.archive import ArchiveFileCopy, ArchiveFileCopyRequest -from alpenhorn.storage import StorageNode, StorageGroup +from alpenhorn.storage import StorageNode, StorageGroup, StorageTransferAction from chimedb.data_index.orm import ( AcqFileTypes, @@ -66,6 +66,7 @@ def tables(proxy): RawadcFileInfo, StorageGroup, StorageNode, + StorageTransferAction, WeatherFileInfo, ] ) diff --git a/test/test_import.py b/test/test_import.py index 5274243..2274afe 100644 --- a/test/test_import.py +++ b/test/test_import.py @@ -1,4 +1,5 @@ """Test everything by running alpenhorn import on the test data.""" + import pytest import shutil