Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 25.11.0
rev: 26.3.0
hooks:
- id: black
- repo: local
Expand Down
8 changes: 4 additions & 4 deletions annexremote/annexremote.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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")

Expand Down Expand Up @@ -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")

Expand Down Expand Up @@ -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
Expand Down
Loading