Skip to content

Commit 8fbc995

Browse files
committed
Fix linting
1 parent a7d20e9 commit 8fbc995

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

backend/btrixcloud/background_jobs.py

-2
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ async def create_delete_org_job(
300300
) -> str:
301301
"""Create background job to delete org and its data"""
302302

303-
job_type = BgJobType.DELETE_ORG.value
304-
305303
try:
306304
job_id = await self.crawl_manager.run_delete_org_job(
307305
oid=str(org.id),

backend/btrixcloud/crawlmanager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222

2323
# ============================================================================
24-
# pylint: disable=too-many-positional-arguments
24+
# pylint: disable=too-many-positional-arguments, too-many-public-methods
2525
class CrawlManager(K8sAPI):
2626
"""abstract crawl manager"""
2727

backend/btrixcloud/db.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ async def update_and_prepare_db(
117117

118118

119119
# ============================================================================
120-
# pylint: disable=too-many-locals, too-many-arguments
120+
# pylint: disable=too-many-locals, too-many-arguments, too-many-positional-arguments
121121
async def run_db_migrations(
122122
mdb, user_manager, page_ops, org_ops, background_job_ops, coll_ops
123123
):

0 commit comments

Comments
 (0)