Skip to content

Commit

Permalink
chore(examples): ignore untyped import errors
Browse files Browse the repository at this point in the history
Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
JP-Ellis committed Mar 21, 2024
1 parent 8c6b80e commit 90f5321
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/tests/test_00_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from yarl import URL

from examples.src.consumer import User, UserConsumer
from pact import Consumer, Format, Like, Provider
from pact import Consumer, Format, Like, Provider # type: ignore[import-untyped]

if TYPE_CHECKING:
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion examples/tests/test_01_provider_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from yarl import URL

from examples.src.fastapi import app
from pact import Verifier
from pact import Verifier # type: ignore[import-untyped]

PROVIDER_URL = URL("http://127.0.0.1:8080")

Expand Down
2 changes: 1 addition & 1 deletion examples/tests/test_01_provider_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from yarl import URL

from examples.src.flask import app
from pact import Verifier
from pact import Verifier # type: ignore[import-untyped]

PROVIDER_URL = URL("http://127.0.0.1:8080")

Expand Down
2 changes: 1 addition & 1 deletion examples/tests/test_02_message_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import pytest

from examples.src.message import Handler
from pact import MessageConsumer, MessagePact, Provider
from pact import MessageConsumer, MessagePact, Provider # type: ignore[import-untyped]

if TYPE_CHECKING:
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion examples/tests/test_03_message_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

from flask import Flask

from pact import MessageProvider
from pact import MessageProvider # type: ignore[import-untyped]

if TYPE_CHECKING:
from yarl import URL
Expand Down

0 comments on commit 90f5321

Please sign in to comment.