Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhswenson committed Dec 13, 2023
1 parent aaa2aab commit cf60d1b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions gufe/storage/stagingregistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import logging
_logger = logging.getLogger(__name__)


def _safe_to_delete_file(
external: ExternalStorage,
path: PathLike
Expand Down
1 change: 0 additions & 1 deletion gufe/storage/storagemanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def running_dag(self, dag_label):
if not self.keep_staging:
self.permanent_staging.cleanup()


if not self.keep_shared:
# we'd like to do something like loop over
# self.shared_xfer - self.permanent_xfer; however,
Expand Down
2 changes: 1 addition & 1 deletion gufe/tests/storage/test_stagingregistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def test_write_new(self, root):
@pytest.mark.xfail # Need test that read-only errors on new files
def test_write_old_fail(self, root):
old_staging = root._get_other_shared("old_unit")
staged = old_,tstaging / "foo.txt"
staged = old_staging / "foo.txt"
with pytest.raises(IOError, match="read-only"):
staged.__fspath__()

Expand Down

0 comments on commit cf60d1b

Please sign in to comment.