diff --git a/datalad_remake/commands/make_cmd.py b/datalad_remake/commands/make_cmd.py index 1aa6c9a..9fd22d0 100644 --- a/datalad_remake/commands/make_cmd.py +++ b/datalad_remake/commands/make_cmd.py @@ -23,11 +23,11 @@ get_status_dict, ) from datalad_next.constraints import ( + DatasetParameter, EnsureDataset, EnsureListOf, EnsurePath, EnsureStr, - DatasetParameter, ) from datalad_next.datasets import Dataset from datalad_next.runners import ( @@ -176,7 +176,7 @@ def __call__( template: str = '', url_only: bool = False, branch: str | None = None, - input: list[str] | None = None, + input: list[str] | None = None, # noqa: A002 input_list: Path | None = None, output: list[str] | None = None, output_list: Path | None = None, diff --git a/datalad_remake/commands/provision_cmd.py b/datalad_remake/commands/provision_cmd.py index 7fc37af..501a3e9 100644 --- a/datalad_remake/commands/provision_cmd.py +++ b/datalad_remake/commands/provision_cmd.py @@ -8,7 +8,6 @@ import logging import os -import stat from contextlib import chdir from glob import glob from pathlib import Path @@ -28,11 +27,12 @@ get_status_dict, ) from datalad_next.constraints import ( + AnyOf, + DatasetParameter, EnsureDataset, EnsureListOf, EnsurePath, EnsureStr, - DatasetParameter, AnyOf, ) from datalad_next.datasets import Dataset from datalad_next.runners import call_git_lines, call_git_success @@ -133,7 +133,7 @@ def __call__( dataset: DatasetParameter | None = None, branch: str | None = None, delete: DatasetParameter | None = None, - input: list[str] | None = None, + input: list[str] | None = None, # noqa: A002 input_list: Path | None = None, worktree_dir: str | Path | None = None, ):