Skip to content

Commit bd29002

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

8 files changed

Lines changed: 9 additions & 1 deletion

File tree

examples/attachment.py

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

1111
import click
12+
1213
from asphalt.core import CLIApplicationComponent, Context, run_application
1314

1415

examples/simple.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import logging
99

1010
import click
11+
1112
from asphalt.core import CLIApplicationComponent, Context, run_application
1213

1314

src/asphalt/mailer/mailers/smtp.py

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

99
from aiosmtplib import SMTP, SMTPTimeoutError
10+
1011
from asphalt.core import current_context, require_resource
1112

1213
from ..api import DeliveryError, 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
@@ -11,6 +11,7 @@
1111
import pytest
1212
from aiosmtpd.handlers import Message as AIOSMTPMessage
1313
from aiosmtpd.smtp import SMTP, AuthResult, Envelope, Session
14+
1415
from asphalt.core.context import Context
1516
from asphalt.mailer.api import DeliveryError
1617
from asphalt.mailer.mailers.smtp import SMTPMailer

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
@@ -3,11 +3,12 @@
33
import logging
44

55
import pytest
6+
from pytest import LogCaptureFixture
7+
68
from asphalt.core import qualified_name
79
from asphalt.core.context import Context
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)