Skip to content

Commit 9ed8b9d

Browse files
committed
reformat
1 parent 52400cb commit 9ed8b9d

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

irods/data_object.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class _repl_status(enum.Enum): # noqa: N801
7575

7676
# Key functions to dictate how replica row results will be sorted within an iRODSDataObject.
7777

78+
7879
def REPLICA_NUMBER_SORT_KEY_FN(row): # noqa: N802
7980
return row[DataObject.replica_number]
8081

@@ -86,15 +87,15 @@ def REPLICA_FITNESS_SORT_KEY_FN(row): # noqa: N802
8687

8788
return (repl_status_rank, _REFERENCE_DATETIME - row[DataObject.modify_time])
8889

90+
8991
# ruff: noqa: D103 on
9092

9193
_DEFAULT_SORT_KEY_FN = REPLICA_NUMBER_SORT_KEY_FN
9294

9395

9496
class iRODSDataObject:
95-
96-
# iRODSDataObject's constructor is not usually directly accessed by iRODS client applications. See the main README.
97-
# ruff: noqa: D107 off
97+
# iRODSDataObject's constructor is not usually directly accessed by iRODS client applications. See the main README.
98+
# ruff: noqa: D107 off
9899

99100
def __init__(self, manager, parent=None, results=None, replica_sort_function=None):
100101
self.manager = manager

irods/test/access_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,8 @@ def test_atomic_acls__issue_505(self):
516516

517517
# Assert that the ACLs we added are now a subset of those now listed in the catalog.
518518
self.assertLessEqual(
519-
{acl.normalize(ses.zone) for acl in (a1,a2,a3,a4)},
520-
{acl.normalize(ses.zone) for acl in ses.acls.get(self.coll)}
519+
{acl.normalize(ses.zone) for acl in (a1, a2, a3, a4)},
520+
{acl.normalize(ses.zone) for acl in ses.acls.get(self.coll)},
521521
)
522522

523523
finally:

0 commit comments

Comments
 (0)