Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
BerndSchuller committed Mar 21, 2024
1 parent f1b39e0 commit 1d80677
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ repos:
]

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.3.0
hooks:
- id: black
args: ["--config", "pyproject.toml"]
args: ["--diff", "--config", "pyproject.toml"]

- repo: https://github.com/pycqa/flake8
rev: 5.0.4
Expand Down
3 changes: 1 addition & 2 deletions pyunicore/helpers/workflows/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Represents the workflow description of the UNICORE REST API.
See https://unicore-dev.zam.kfa-juelich.de/documentation/workflow-8.0.0/workflow-manual.html # noqa
See https://unicore-docs.readthedocs.io/en/latest/user-docs/rest-api/workflow-description/index.html #noqa
"""
from pyunicore.helpers.workflows import activities
from pyunicore.helpers.workflows.description import Description
Expand Down
1 change: 1 addition & 0 deletions pyunicore/uftpfuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def close_data(self):

def open_data(self, position, write_mode=False):
"""open data channel before a sequence of read/write operations"""

self.write_mode = write_mode
if self.write_mode:
_sock = self.uftp_session.get_write_socket(self.path, position)
Expand Down

0 comments on commit 1d80677

Please sign in to comment.