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 Sep 24, 2024
1 parent 67a6ee6 commit e40878a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pvconsumer/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
import os
from datetime import datetime
from typing import List, Optional, Tuple
import sentry_sdk

import click
import pandas as pd
import sentry_sdk
from pvoutput import PVOutput
from pvsite_datamodel.connection import DatabaseConnection
from pvsite_datamodel.sqlmodels import SiteSQL
Expand All @@ -32,14 +32,13 @@
logger = logging.getLogger(__name__)

sentry_sdk.init(
dsn=os.getenv("SENTRY_DSN"),
environment=os.getenv("ENVIRONMENT", "local"),
traces_sample_rate=1
dsn=os.getenv("SENTRY_DSN"), environment=os.getenv("ENVIRONMENT", "local"), traces_sample_rate=1
)

sentry_sdk.set_tag("app_name", "PVConsumer")
sentry_sdk.set_tag("version", pvconsumer.__version__)


@click.command()
@click.option(
"--db-url",
Expand Down

0 comments on commit e40878a

Please sign in to comment.