From 2b57fdc09fd0e9e6d1b41912a8e3f33b055290c1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Mar 2026 19:41:40 +0000 Subject: [PATCH 1/3] chore(deps): update psf/black action to v26 [security] --- .github/workflows/black.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 9f375ce..f9b00e7 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -7,4 +7,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - uses: psf/black@25.11.0 + - uses: psf/black@26.3.0 From 6ea1b60e856dfa32fd53bee7d09ca424d8aade43 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 02:35:58 +0000 Subject: [PATCH 2/3] chore(deps): update pre-commit hook psf/black to v26 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2479a9c..be39b07 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 25.11.0 + rev: 26.3.0 hooks: - id: black - repo: local From 933c5d5ddc38a527281b9a76d790b8105dd4e760 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 10 Mar 2026 14:01:01 -0400 Subject: [PATCH 3/3] [DATALAD RUNCMD] Apply black === Do not change lines below === { "chain": [], "cmd": "pre-commit run --all black || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- annexremote/annexremote.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/annexremote/annexremote.py b/annexremote/annexremote.py index 524e047..9d6d6e2 100644 --- a/annexremote/annexremote.py +++ b/annexremote/annexremote.py @@ -601,7 +601,7 @@ def do_PREPARE(self): def do_TRANSFER(self, param): try: - (method, key, file_) = param.split(" ", 2) + method, key, file_ = param.split(" ", 2) except ValueError: raise SyntaxError("Expected Key File") @@ -740,7 +740,7 @@ def do_TRANSFEREXPORT(self, param): if not self.exporting: raise ProtocolError("Export request without prior EXPORT") try: - (method, key, file_) = param.split(" ", 2) + method, key, file_ = param.split(" ", 2) except ValueError: raise SyntaxError("Expected Key File") @@ -793,7 +793,7 @@ def do_RENAMEEXPORT(self, param): if not self.exporting: raise ProtocolError("Export request without prior EXPORT") try: - (key, new_name) = param.split(None, 1) + key, new_name = param.split(None, 1) except ValueError: raise SyntaxError("Expected TRANSFER STORE Key File") @@ -1146,7 +1146,7 @@ def getcreds(self, setting): UnexpectedMessage If git-annex does not respond correctly to this request, which is very unlikely. """ - (user, password) = self._ask( + user, password = self._ask( "GETCREDS {setting}".format(setting=setting), "CREDS", 2 ) # TODO: (v2.0) use namedtuple instead of dict