Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 24, 2024
1 parent bd8aff2 commit 931f2cd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
16 changes: 9 additions & 7 deletions cl/search/management/commands/update_cap_cases.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
import json
import logging
import multiprocessing
import os
from concurrent.futures import ThreadPoolExecutor, as_completed
from typing import Any, Dict, List, Optional, Tuple

import boto3
from django.core.management.base import BaseCommand
from django.conf import settings
from cl.search.models import Opinion, OpinionCluster
import logging
from bs4 import BeautifulSoup
from typing import List, Dict, Tuple, Optional, Any
from concurrent.futures import ThreadPoolExecutor, as_completed
import multiprocessing
from django.conf import settings
from django.core.management.base import BaseCommand
from tqdm import tqdm

from cl.search.models import Opinion, OpinionCluster

logger = logging.getLogger(__name__)


Expand Down
8 changes: 5 additions & 3 deletions cl/search/tests/test_update_cap_cases.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import logging
from bs4 import BeautifulSoup
from unittest.mock import MagicMock, patch

import bs4
from cl.tests.cases import TestCase
from bs4 import BeautifulSoup

from cl.search.management.commands.update_cap_cases import Command
from unittest.mock import patch, MagicMock
from cl.tests.cases import TestCase

logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 931f2cd

Please sign in to comment.