Skip to content

Commit 644c74c

Browse files
committed
ruff nr 4
1 parent c663554 commit 644c74c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

irods/data_object.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
"""Interface for iRODS data objects.
22
3-
Provides high level abstraction and POSIX-like facilities (create, open, read/write) allowing clients to manipulate data objects very much as if they were
4-
local files.
3+
Provides high level abstraction and POSIX-like facilities (create, open,
4+
read/write) allowing clients to manipulate data objects very much as if they
5+
were local files.
56
"""
67

78
import ast
@@ -69,6 +70,7 @@ class _repl_status(enum.Enum): # noqa: N801
6970
# the default sort key in PRC4 and onward.
7071
_REFERENCE_DATETIME = datetime.fromtimestamp(0, timezone.utc)
7172

73+
# ruff: noqa: D103 off
7274

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

@@ -83,6 +85,7 @@ def REPLICA_FITNESS_SORT_KEY_FN(row): # noqa: N802
8385

8486
return (repl_status_rank, _REFERENCE_DATETIME - row[DataObject.modify_time])
8587

88+
# ruff: noqa: D103 on
8689

8790
_DEFAULT_SORT_KEY_FN = REPLICA_NUMBER_SORT_KEY_FN
8891

irods/test/data_obj_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import time
2424
import unittest
2525
import xml.etree.ElementTree
26+
2627
import irods.test.helpers as helpers
2728

2829
try:

0 commit comments

Comments
 (0)