Reformat with Black for 2025 ruleset (#2349)

This commit is contained in:
Tessa Walsh 2025-01-29 16:57:06 -05:00 committed by GitHub
parent 514811701f
commit b0aebb599a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
22 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
""" auth functions for login """ """auth functions for login"""
import os import os
from uuid import UUID, uuid4 from uuid import UUID, uuid4

View File

@ -1,4 +1,4 @@
""" base crawl type """ """base crawl type"""
from datetime import datetime, timedelta from datetime import datetime, timedelta
from typing import Optional, List, Union, Dict, Any, Type, TYPE_CHECKING, cast, Tuple from typing import Optional, List, Union, Dict, Any, Type, TYPE_CHECKING, cast, Tuple

View File

@ -1,4 +1,4 @@
""" shared crawl manager implementation """ """shared crawl manager implementation"""
import os import os
import secrets import secrets

View File

@ -1,4 +1,4 @@
""" Crawl API """ """Crawl API"""
# pylint: disable=too-many-lines # pylint: disable=too-many-lines

View File

@ -1,4 +1,4 @@
""" Basic Email Sending Support""" """Basic Email Sending Support"""
from datetime import datetime from datetime import datetime
import os import os

View File

@ -1,4 +1,4 @@
""" Invite system management """ """Invite system management"""
from typing import Optional, Any from typing import Optional, Any
import os import os

View File

@ -1,4 +1,4 @@
""" K8S API Access """ """K8S API Access"""
import os import os
import traceback import traceback

View File

@ -1,4 +1,4 @@
""" entrypoint module for background jobs """ """entrypoint module for background jobs"""
import asyncio import asyncio
import os import os

View File

@ -1,4 +1,4 @@
""" entrypoint module for operator """ """entrypoint module for operator"""
import os import os
import sys import sys

View File

@ -1,7 +1,7 @@
""" """
Migration 0007 - Workflows changes Migration 0007 - Workflows changes
- Rename colls to autoAddCollections - Rename colls to autoAddCollections
- Re-calculate workflow crawl stats to populate crawlSuccessfulCount - Re-calculate workflow crawl stats to populate crawlSuccessfulCount
""" """

View File

@ -1,4 +1,4 @@
""" operators module """ """operators module"""
from .profiles import ProfileOperator from .profiles import ProfileOperator
from .bgjobs import BgJobOperator from .bgjobs import BgJobOperator

View File

@ -1,4 +1,4 @@
""" Base Operator class for all operators """ """Base Operator class for all operators"""
import asyncio import asyncio
import os import os

View File

@ -1,4 +1,4 @@
""" Operator handler for BackgroundJobs """ """Operator handler for BackgroundJobs"""
from uuid import UUID from uuid import UUID
import traceback import traceback

View File

@ -1,4 +1,4 @@
""" CrawlOperator """ """CrawlOperator"""
import traceback import traceback
import os import os

View File

@ -1,4 +1,4 @@
""" Operator handler for crawl CronJobs """ """Operator handler for crawl CronJobs"""
from uuid import UUID from uuid import UUID
from typing import Optional from typing import Optional

View File

@ -1,4 +1,4 @@
""" Operator Models """ """Operator Models"""
from collections import defaultdict from collections import defaultdict
from uuid import UUID from uuid import UUID

View File

@ -1,4 +1,4 @@
""" Operator handler for ProfileJobs """ """Operator handler for ProfileJobs"""
from btrixcloud.utils import str_to_date, dt_now from btrixcloud.utils import str_to_date, dt_now

View File

@ -1,4 +1,4 @@
""" shared helper to initialize ops classes """ """shared helper to initialize ops classes"""
from typing import Tuple from typing import Tuple

View File

@ -1,4 +1,4 @@
""" Profile Management """ """Profile Management"""
from typing import Optional, TYPE_CHECKING, Any, cast, Dict, List, Tuple from typing import Optional, TYPE_CHECKING, Any, cast, Dict, List, Tuple
from uuid import UUID, uuid4 from uuid import UUID, uuid4

View File

@ -1,4 +1,4 @@
""" handle user uploads into browsertrix """ """handle user uploads into browsertrix"""
import uuid import uuid
from urllib.parse import unquote from urllib.parse import unquote

View File

@ -1,4 +1,4 @@
""" k8s utils """ """k8s utils"""
import asyncio import asyncio
import atexit import atexit

View File

@ -1,3 +1,3 @@
""" current version """ """current version"""
__version__ = "1.14.0-beta.0" __version__ = "1.14.0-beta.0"