mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-05-22 22:32:18 +02:00
Minor fixes
This commit is contained in:
parent
591d4f4ae8
commit
6d09133dca
@ -95,6 +95,9 @@ mlflow = ["mlflow>=3.1.1"]
|
||||
gradio = [
|
||||
"gradio>=6.9.0",
|
||||
]
|
||||
dvc = [
|
||||
"dvclive>=3.49.0",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 79
|
||||
|
||||
@ -96,7 +96,7 @@ def test_registry_build_unknown_name_raises():
|
||||
name = "NonExistentBackbone"
|
||||
|
||||
with pytest.raises(NotImplementedError):
|
||||
backbone_registry.build(FakeConfig()) # type: ignore[arg-type]
|
||||
backbone_registry.build(FakeConfig()) # ty: ignore[invalid-argument-type]
|
||||
|
||||
|
||||
def test_backbone_config_validates_unet_from_dict():
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
from collections.abc import Callable
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from soundevent import data, terms
|
||||
|
||||
from batdetect2.targets import TargetConfig, build_roi_mapping, build_targets
|
||||
|
||||
Loading…
Reference in New Issue
Block a user