Skip to content

Commit 68bf9bb

Browse files
committed
block noqa suppressions
1 parent 57bfc66 commit 68bf9bb

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

irods/access.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class ACLOperation(iRODSAccess):
228228

229229
# ruff: noqa: D105 on
230230

231-
def __init__(self, access_name: str, user_name: str = "", user_zone: str = ""):
231+
def __init__(self, access_name: str, user_name: str = "", user_zone: str = ""): # noqa: D107
232232
super().__init__(
233233
access_name=access_name,
234234
path="",
@@ -290,7 +290,9 @@ def __repr__(self):
290290
canonical_permissions = {k: v for k, v in all_permissions.items() if ' ' not in k and k not in ('read', 'write')}
291291

292292

293-
# ruff: noqa: RUF012 N801 on
293+
# ruff: noqa: RUF012 N801 SLF001 on
294+
295+
294296
class _deprecated:
295297
class _iRODSAccess_pre_4_3_0(_iRODSAccess_base):
296298
codes = collections.OrderedDict(
@@ -318,3 +320,6 @@ def __getattr__(name):
318320
warnings.warn(f"{name} is deprecated", DeprecationWarning, stacklevel=2)
319321
return _deprecated_names[name]
320322
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
323+
324+
325+
# ruff: noqa: RUF012 N801 SLF001 off

0 commit comments

Comments
 (0)