Skip to content

Commit

Permalink
build: fix typo in pyproject.toml and test suite
Browse files Browse the repository at this point in the history
This is the source of the typo in chime-experiment/chimedb_di#26

Also, added the StorageTransferAction table to the test-suite, which
was added to alpenhorn.

Also re-blackening.
  • Loading branch information
ketiltrout committed Jul 30, 2024
1 parent 29c0fa4 commit 7c23d03
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions alpenhorn_chime/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
is performed by pattern matching on the acqusition
directory and filename.
"""

from __future__ import annotations
from typing import TYPE_CHECKING

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 2 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -66,6 +66,7 @@ def tables(proxy):
RawadcFileInfo,
StorageGroup,
StorageNode,
StorageTransferAction,
WeatherFileInfo,
]
)
1 change: 1 addition & 0 deletions test/test_import.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test everything by running alpenhorn import on the test data."""

import pytest

import shutil
Expand Down

0 comments on commit 7c23d03

Please sign in to comment.