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 23, 2024
1 parent cecf2de commit 99d3277
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from pathlib import Path

import click

from asphalt.core import CLIApplicationComponent, Context, run_application


Expand Down
1 change: 1 addition & 0 deletions examples/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import logging

import click

from asphalt.core import CLIApplicationComponent, Context, run_application


Expand Down
1 change: 1 addition & 0 deletions src/asphalt/mailer/mailers/smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from typing import Any

from aiosmtplib import SMTP, SMTPTimeoutError

from asphalt.core import current_context, require_resource

from ..api import DeliveryError, Mailer
Expand Down
1 change: 1 addition & 0 deletions tests/mailers/test_mock.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import pytest

from asphalt.mailer.mailers.mock import MockMailer

pytestmark = pytest.mark.anyio
Expand Down
1 change: 1 addition & 0 deletions tests/mailers/test_sendmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from pathlib import Path

import pytest

from asphalt.mailer.api import DeliveryError, Mailer
from asphalt.mailer.mailers.sendmail import SendmailMailer

Expand Down
1 change: 1 addition & 0 deletions tests/mailers/test_smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import pytest
from aiosmtpd.handlers import Message as AIOSMTPMessage
from aiosmtpd.smtp import SMTP, AuthResult, Envelope, Session

from asphalt.core.context import Context
from asphalt.mailer.api import DeliveryError
from asphalt.mailer.mailers.smtp import SMTPMailer
Expand Down
1 change: 1 addition & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from typing import Any, cast

import pytest

from asphalt.mailer.api import Mailer

pytestmark = pytest.mark.anyio
Expand Down
3 changes: 2 additions & 1 deletion tests/test_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
import logging

import pytest
from pytest import LogCaptureFixture

from asphalt.core import qualified_name
from asphalt.core.context import Context
from asphalt.mailer.api import Mailer
from asphalt.mailer.component import MailerComponent
from pytest import LogCaptureFixture

pytestmark = pytest.mark.anyio

Expand Down

0 comments on commit 99d3277

Please sign in to comment.