Skip to content

Commit

Permalink
fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
v0lta committed Feb 1, 2024
1 parent 5de329c commit 6401034
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/test_convolution_fwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ def _compare_coeffs(
Returns:
A list with bools from allclose.
Raises:
TypeError: In case of a problem with the list structures.
"""
test_list: List[bool] = []
for ptwtcs, pywtcs in zip(ptwt_res, pywt_res):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cwt.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Test the continuous transformation code."""

from typing import Any, Union
from typing import Any

import numpy as np
import pytest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_jit.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Ensure pytorch's torch.jit.trace feature works properly."""

from typing import Any, Dict, List, NamedTuple, Optional, Tuple, Union
from typing import Dict, List, NamedTuple, Optional, Tuple, Union

import numpy as np
import pytest
Expand Down

0 comments on commit 6401034

Please sign in to comment.