Skip to content

Commit fff63f1

Browse files
committed
[DATALAD RUNCMD] uvx ruff check --fix
=== Do not change lines below === { "chain": [], "cmd": "uvx ruff check --fix", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 6d90295 commit fff63f1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

tools/schemacode/src/bidsschematools/_lazytypes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ def func(arg: lt.Any) -> ReturnType:
5454

5555
TYPE_CHECKING = False
5656
if TYPE_CHECKING or "sphinx.ext.autodoc" in sys.modules: # pragma: no cover
57-
from typing import Any, Callable, Literal, NotRequired, Protocol, Self, TypeVar, TypedDict
58-
5957
from collections.abc import Iterator, Mapping
6058
from contextlib import AbstractContextManager
59+
from typing import Any, Callable, Literal, NotRequired, Protocol, Self, TypedDict, TypeVar
6160

6261
from acres.typ import Traversable
6362
from jsonschema import FormatChecker

tools/schemacode/src/bidsschematools/schema.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010
from functools import cache, lru_cache
1111
from pathlib import Path
1212

13+
from . import _lazytypes as lt
1314
from . import data, utils
1415
from .types import Namespace
1516

16-
from . import _lazytypes as lt
17-
1817
lgr = utils.get_logger()
1918

2019

tools/schemacode/src/bidsschematools/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import warnings
99
from functools import wraps
1010

11-
from . import data
1211
from . import _lazytypes as lt
12+
from . import data
1313

1414
if lt.TYPE_CHECKING:
1515

0 commit comments

Comments
 (0)