Skip to content

Commit 0b6fc9d

Browse files
committed
lint fixes
1 parent f39d6f2 commit 0b6fc9d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

backend/btrixcloud/db.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async def ping_db(mdb) -> None:
8787

8888
# ============================================================================
8989
async def update_and_prepare_db(
90-
# pylint: disable=R0913
90+
# pylint: disable=too-many-positional-arguments, too-many-arguments
9191
mdb: AsyncIOMotorDatabase,
9292
user_manager: UserManager,
9393
org_ops: OrgOps,

backend/btrixcloud/storages.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878

7979
# ============================================================================
8080
# pylint: disable=broad-except,raise-missing-from,too-many-public-methods, too-many-positional-arguments
81+
# pylint: disable=too-many-lines,too-many-instance-attributes,too-many-locals
8182
class StorageOps:
8283
"""All storage handling, download/upload operations"""
8384

@@ -933,7 +934,11 @@ def _parse_json(line) -> dict:
933934

934935
# ============================================================================
935936
def init_storages_api(
936-
org_ops: OrgOps, crawl_manager: CrawlManager, app: APIRouter, mdb, user_dep
937+
org_ops: OrgOps,
938+
crawl_manager: CrawlManager,
939+
app: APIRouter,
940+
mdb,
941+
user_dep: Callable,
937942
) -> StorageOps:
938943
"""API for updating storage for an org"""
939944

0 commit comments

Comments
 (0)