Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# * Run "pre-commit install".
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -16,14 +16,14 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.5
rev: v0.9.4
hooks:
- id: ruff
args: [--fix, --show-fixes]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.14.1
hooks:
- id: mypy
args: ["--explicit-package-bases"]
Expand Down
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
Loading