Skip to content

Commit a88ff04

Browse files
committed
fix: ruff complaining about unused variables
1 parent 3443f7e commit a88ff04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from xarray import DataArray
1414
from xarray.testing.assertions import assert_equal
1515

16-
from linopy import Model, Variable
16+
from linopy import Variable
1717
from linopy.common import (
1818
align,
1919
as_dataarray,
@@ -651,7 +651,7 @@ def test_get_dims_with_index_levels() -> None:
651651
assert get_dims_with_index_levels(ds5) == []
652652

653653

654-
def test_align(m: Model, x: Variable, u: Variable) -> None:
654+
def test_align(x: Variable, u: Variable) -> None: # noqa: F811
655655
alpha = xr.DataArray([1, 2], [[1, 2]])
656656
beta = xr.DataArray(
657657
[1, 2, 3],

0 commit comments

Comments
 (0)