Skip to content

Commit

Permalink
Remove more old typings (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Aug 23, 2024
1 parent 8e20a25 commit 11a45df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/user_guide/expand_path.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ expander will find all matching paths and automatically extract the specified me
.. code-block:: python
from pathlib import Path
from typing import Dict
from neuroconv.tools.path_expansion import LocalPathExpander
Expand Down
5 changes: 2 additions & 3 deletions tests/test_minimal/test_tools/test_expand_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import unittest
from datetime import datetime
from pathlib import Path
from typing import List, Tuple

import pytest
from parse import parse
Expand All @@ -14,7 +13,7 @@


def create_test_directories_and_files(
base_directory: Path, directories_and_files: List[Tuple[List[str], List[str]]]
base_directory: Path, directories_and_files: list[tuple[list[str], list[str]]]
) -> None:
"""
Create test directories and files in a way that is compatible across different
Expand All @@ -24,7 +23,7 @@ def create_test_directories_and_files(
----------
base_directory : Path
The base directory under which all subdirectories and files will be created.
directories_and_files : List[Tuple[List[str], List[str]]]
directories_and_files : list[tuple[list[str], list[str]]]
A list where each element is a tuple. The first element of the tuple is a list
of directory components, and the second element is a list of file names to be
created in that directory.
Expand Down

0 comments on commit 11a45df

Please sign in to comment.