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 Nov 4, 2024
1 parent 31dc353 commit 9a83ab0
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/asphalt/exceptions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from typing import Any

from asphalt.core import Context, merge_config, qualified_name

from asphalt.exceptions.api import ExceptionReporter, ExtrasProvider

__all__ = ("report_exception",)
Expand Down
1 change: 0 additions & 1 deletion src/asphalt/exceptions/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
merge_config,
qualified_name,
)

from asphalt.exceptions import report_exception
from asphalt.exceptions.api import ExceptionReporter

Expand Down
2 changes: 1 addition & 1 deletion src/asphalt/exceptions/reporters/raygun.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from typing import Any

from asphalt.core import Context
from raygun4py.raygunprovider import RaygunSender

from asphalt.core import Context
from asphalt.exceptions.api import ExceptionReporter


Expand Down
2 changes: 1 addition & 1 deletion src/asphalt/exceptions/reporters/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from typing import Any, Sequence

import sentry_sdk
from asphalt.core import Context, resolve_reference
from sentry_sdk.integrations import Integration

from asphalt.core import Context, resolve_reference
from asphalt.exceptions.api import ExceptionReporter

if sys.version_info >= (3, 10):
Expand Down
2 changes: 1 addition & 1 deletion tests/reporters/test_raygun.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from unittest.mock import patch

import pytest
from asphalt.core import Context

from asphalt.core import Context
from asphalt.exceptions.reporters.raygun import RaygunExceptionReporter


Expand Down
2 changes: 1 addition & 1 deletion tests/reporters/test_sentry.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from unittest.mock import MagicMock

import pytest
from asphalt.core import Context
from pytest_mock import MockerFixture
from sentry_sdk import Transport
from sentry_sdk.integrations import Integration

from asphalt.core import Context
from asphalt.exceptions.reporters.sentry import SentryExceptionReporter


Expand Down
2 changes: 1 addition & 1 deletion tests/test_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from collections import OrderedDict

import pytest
from asphalt.core.context import Context

from asphalt.core.context import Context
from asphalt.exceptions.api import ExceptionReporter
from asphalt.exceptions.component import ExceptionReporterComponent

Expand Down
2 changes: 1 addition & 1 deletion tests/test_report_exception.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logging

import pytest
from asphalt.core import Context

from asphalt.core import Context
from asphalt.exceptions import ExtrasProvider, report_exception
from asphalt.exceptions.api import ExceptionReporter

Expand Down

0 comments on commit 9a83ab0

Please sign in to comment.