Skip to content

Commit 4b45588

Browse files
committed
chore(examples): ignore untyped import errors
Signed-off-by: JP-Ellis <josh@jpellis.me>
1 parent 5963b73 commit 4b45588

5 files changed

+5
-5
lines changed

examples/tests/test_00_consumer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from yarl import URL
2525

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

2929
if TYPE_CHECKING:
3030
from pathlib import Path

examples/tests/test_01_provider_fastapi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from yarl import URL
3535

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

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

examples/tests/test_01_provider_flask.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
from yarl import URL
3434

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

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

examples/tests/test_02_message_consumer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import pytest
3838

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

4242
if TYPE_CHECKING:
4343
from pathlib import Path

examples/tests/test_03_message_provider.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
from flask import Flask
3232

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

3535
if TYPE_CHECKING:
3636
from yarl import URL

0 commit comments

Comments
 (0)