Skip to content

Commit

Permalink
fixes linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbhughes committed Jun 21, 2024
1 parent 2ce94d9 commit 2a35563
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions punchpipe/controlsegment/db.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import os
from typing import Optional

from prefect.blocks.core import Block
from pydantic import SecretStr
from sqlalchemy import TEXT, Column, DateTime, Integer, String
from sqlalchemy.orm import declarative_base
from prefect_sqlalchemy.credentials import DatabaseCredentials

Base = declarative_base()

Expand Down
1 change: 0 additions & 1 deletion punchpipe/controlsegment/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import yaml
from prefect import task
from punchbowl.data import PUNCHData
from sqlalchemy import create_engine
from sqlalchemy.orm import Session
from yaml.loader import FullLoader
from prefect_sqlalchemy.credentials import DatabaseCredentials
Expand Down
4 changes: 2 additions & 2 deletions punchpipe/monitor/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
import pandas as pd
import plotly.express as px
from punchbowl.data import PUNCHData
from sqlalchemy import and_, create_engine, or_
from sqlalchemy import and_, or_
from sqlalchemy.orm import Session
from sqlalchemy.orm.exc import MultipleResultsFound, NoResultFound
from prefect_sqlalchemy.credentials import DatabaseCredentials

from punchpipe.controlsegment.db import File, FileRelationship, Flow, MySQLCredentials
from punchpipe.controlsegment.db import File, FileRelationship, Flow


def _create_overall_blocks(start_date, end_date):
Expand Down

0 comments on commit 2a35563

Please sign in to comment.