Skip to content

Commit ad6957c

Browse files
committed
d105 on/off
1 parent 141f2e4 commit ad6957c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

irods/access.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ class ACLOperation(iRODSAccess):
227227
it is appropriate that the path parameter is in a location separate from the operations.)
228228
""" # noqa: D400
229229

230+
# ruff: noqa: D105 on
231+
230232
def __init__(self, access_name: str, user_name: str = "", user_zone: str = ""):
231233
super().__init__(
232234
access_name=access_name,
@@ -235,8 +237,8 @@ def __init__(self, access_name: str, user_name: str = "", user_zone: str = ""):
235237
user_zone=user_zone,
236238
)
237239

240+
238241
def __eq__(self, other):
239-
# noqa: D105
240242
return (
241243
self.access_name,
242244
self.user_name,
@@ -248,7 +250,6 @@ def __eq__(self, other):
248250
)
249251

250252
def __hash__(self):
251-
# noqa: D105
252253

253254
# Hash in a way consistent with an iRODSAccess having path "".
254255
return hash((
@@ -272,6 +273,8 @@ def __lt__(self, other):
272273
def __repr__(self):
273274
return f"<ACLOperation {self.access_name} {self.user_name} {self.user_zone}>"
274275

276+
# ruff: noqa: D105 off
277+
275278

276279
(
277280
_synonym_mapping := {

0 commit comments

Comments
 (0)