Skip to content

Commit b365440

Browse files
committed
general noqa directives
1 parent b61a820 commit b365440

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

irods/access.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# noqa
2+
13
import collections
24
import copy
35
import warnings
@@ -225,7 +227,7 @@ class ACLOperation(iRODSAccess):
225227
It differs, however, in that it forgoes option to store a logical object path. (In the atomic
226228
API call, there is always a single logical path to which all such operations apply, thus
227229
it is appropriate that the path parameter is in a location separate from the operations.)
228-
""" # noqa: D400 RUF100
230+
""" # noqa: D400
229231

230232
# ruff: noqa: D105 on
231233

irods/exception.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
# noqa
2+
13
# if you're copying these from the docs, you might find the following regex helpful:
24
# s/\(\w\+\)\s\+\(-\d\+\)/class \1(SystemException):\r code = \2/g
35

4-
56
import errno
67
import numbers
78
import os
@@ -650,8 +651,7 @@ class SYS_INVALID_INPUT_PARAM(SystemException):
650651
code = -130000
651652

652653

653-
class SYS_INTERNAL_ERR(SystemException): # noqa: N801
654-
# noqa: D101
654+
class SYS_INTERNAL_ERR(SystemException):
655655
code = -154000
656656

657657

@@ -2125,3 +2125,4 @@ class PAM_AUTH_PASSWORD_FAILED(PAMException):
21252125

21262126
class PAM_AUTH_PASSWORD_INVALID_TTL(PAMException):
21272127
code = -994000
2128+

irods/manager/access_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# noqa
12
""" The access manager is a collection of methods useful for managing iRODS ACLs. """
23

34
import logging

0 commit comments

Comments
 (0)