Skip to content

Commit 76b0be4

Browse files
committed
PIM-6485 Fix lint errors
1 parent 8c28c2b commit 76b0be4

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

cterasdk/core/cloudfs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ def add(self, name, group, owner, winacls=True, description=None, # pylint: dis
283283
Use :func:`cterasdk.core.types.ExtendedAttributesBuilder` to build the extended attributes object
284284
:param bool,optional gfl: Enable global file locking
285285
:param list[str],optional lock_extensions: List of file extensions (without leading dot) for which global file locking is enforced.
286-
:param cterasdk.common.object.Object,optional open_fabric_settings: Fusion Direct payload: ``OpenFabricSettings`` object tree (e.g. from
287-
:class:`cterasdk.core.fusion_direct.OpenFabricSettingsBuilder`). When set, ``openStorageEnabled`` defaults to ``True``;
286+
:param cterasdk.common.object.Object,optional open_fabric_settings: Fusion Direct ``OpenFabricSettings`` object tree
287+
(e.g. from :class:`cterasdk.core.fusion_direct.OpenFabricSettingsBuilder`). When set, ``openStorageEnabled`` defaults to ``True``;
288288
passing ``open_storage_enabled=False`` raises :class:`cterasdk.exceptions.CTERAException`.
289289
:param bool,optional open_storage_enabled: When ``open_fabric_settings`` is omitted, sets ``openStorageEnabled`` on the
290290
create payload if not ``None``. Must not be ``False`` when ``open_fabric_settings`` is set.

cterasdk/core/fusion_direct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
FUSION_DIRECT_SECRET_KEY_UNCHANGED = "*****DON'T CHANGE*****"
1818

1919

20-
class OpenFabricS3DataStorageBuilder:
20+
class OpenFabricS3DataStorageBuilder: # pylint: disable=too-many-instance-attributes
2121
"""
2222
Build ``OpenFabricS3DataStorage`` for ``OpenFabricSettings.dataStorage`` (Fusion Direct).
2323
@@ -26,7 +26,7 @@ class OpenFabricS3DataStorageBuilder:
2626
``GenericS3`` is used, consistent with portal resolution of blank storage.
2727
"""
2828

29-
def __init__(self, bucket, access_key, secret_key, end_point, *, storage=None, use_https=True,
29+
def __init__(self, bucket, access_key, secret_key, end_point, *, storage=None, use_https=True, # pylint: disable=too-many-arguments
3030
region=None, trust_all_certificates=False, use_path_style_addressing=False,
3131
sqs_url=None, metadata_tags=False):
3232
self._bucket = bucket

docs/source/UserGuides/Portal/Administration.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,8 +1417,7 @@ Cloud Drive Folders
14171417
.. automethod:: cterasdk.core.cloudfs.CloudDrives.add_return_id
14181418
:noindex:
14191419
1420-
Fusion Direct
1421-
~~~~~~~~~~~~~
1420+
**Fusion Direct**
14221421
14231422
Team Portal administrators with permission to manage cloud folders can create a **Fusion Direct**
14241423
cloud folder backed by a customer-managed S3-compatible bucket by passing ``open_fabric_settings``.

tests/ut/core/admin/test_cloudfs_cloud_drives.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ def test_undelete_with_local_owner(self):
267267
self._global_admin.users.get.assert_called_once_with(self._local_user_account, ['displayName'])
268268
self._global_admin.files.undelete.assert_called_once_with(f'Users/{self._owner}/{self._name}')
269269

270+
# pylint: disable-next=too-many-arguments
270271
def _get_add_cloud_drive_object(self, winacls=True, description=None, quota=None, compliance_settings=None, xattrs=None,
271272
gfl=None, lock_extensions=None, open_fabric_settings=None, open_storage_enabled=None,
272273
archive_settings=None):

0 commit comments

Comments
 (0)