Skip to content

Commit

Permalink
Fix pre-commit error
Browse files Browse the repository at this point in the history
  • Loading branch information
sunank200 committed Nov 17, 2023
1 parent 28038f2 commit fa7a06d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion airflow/include/tasks/extract/airflow_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
import pandas as pd
import requests
from bs4 import BeautifulSoup
from include.tasks.extract.utils.html_helpers import get_all_links
from weaviate.util import generate_uuid5

from include.tasks.extract.utils.html_helpers import get_all_links


def extract_airflow_docs(docs_base_url: str) -> list[pd.DataFrame]:
"""
Expand Down
2 changes: 1 addition & 1 deletion airflow/include/tasks/extract/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import numpy as np
import pandas as pd
import requests
from include.tasks.extract.utils.slack_helpers import get_slack_replies
from weaviate.util import generate_uuid5

from airflow.providers.slack.hooks.slack import SlackHook
from include.tasks.extract.utils.slack_helpers import get_slack_replies

slack_archive_host = "apache-airflow.slack-archives.org"
slack_base_url = "https://{slack_archive_host}/v1/messages?size={size}&team={team}&channel={channel}"
Expand Down
5 changes: 3 additions & 2 deletions airflow/include/tasks/extract/stack_overflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
import datetime

import pandas as pd
from stackapi import StackAPI
from weaviate.util import generate_uuid5

from include.tasks.extract.utils.stack_overflow_helpers import (
process_stack_answers,
process_stack_answers_api,
Expand All @@ -12,8 +15,6 @@
process_stack_questions,
process_stack_questions_api,
)
from stackapi import StackAPI
from weaviate.util import generate_uuid5


def extract_stack_overflow_archive(tag: str, stackoverflow_cutoff_date: str) -> pd.DataFrame:
Expand Down

0 comments on commit fa7a06d

Please sign in to comment.