Skip to content

Commit 205c534

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1669419 commit 205c534

6 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/asphalt/mailer/component.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from typing import Any
55

66
from asphalt.core import Component, Context, PluginContainer, qualified_name
7+
78
from asphalt.mailer.api import Mailer
89

910
mailer_backends = PluginContainer("asphalt.mailer.mailers", Mailer)

tests/mailers/test_mock.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
import pytest
4+
45
from asphalt.mailer.mailers.mock import MockMailer
56

67
pytestmark = pytest.mark.anyio

tests/mailers/test_sendmail.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from pathlib import Path
77

88
import pytest
9+
910
from asphalt.mailer.api import DeliveryError, Mailer
1011
from asphalt.mailer.mailers.sendmail import SendmailMailer
1112

tests/mailers/test_smtp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from aiosmtpd.handlers import Message as AIOSMTPMessage
1313
from aiosmtpd.smtp import SMTP, AuthResult, Envelope, Session
1414
from asphalt.core.context import Context
15+
1516
from asphalt.mailer.api import DeliveryError
1617
from asphalt.mailer.mailers.smtp import SMTPMailer
1718

tests/test_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from typing import Any, cast
77

88
import pytest
9+
910
from asphalt.mailer.api import Mailer
1011

1112
pytestmark = pytest.mark.anyio

tests/test_component.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
import pytest
66
from asphalt.core import qualified_name
77
from asphalt.core.context import Context
8+
from pytest import LogCaptureFixture
9+
810
from asphalt.mailer.api import Mailer
911
from asphalt.mailer.component import MailerComponent
10-
from pytest import LogCaptureFixture
1112

1213
pytestmark = pytest.mark.anyio
1314

0 commit comments

Comments
 (0)