Skip to content

Commit 692760a

Browse files
committed
Address PR review feedback for optional Nexity dependencies
- Quote bracket syntax in install hint for zsh compatibility - Check all three Nexity modules (boto3, warrant_lite, botocore) in test guard
1 parent fecd647 commit 692760a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

pyoverkiz/auth/strategies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ async def login(self) -> None:
251251
except ImportError as err:
252252
raise ImportError(
253253
"Nexity authentication requires the 'nexity' extra. "
254-
"Install it with: pip install pyoverkiz[nexity]"
254+
'Install it with: pip install "pyoverkiz[nexity]"'
255255
) from err
256256

257257
loop = asyncio.get_running_loop()

tests/test_auth.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
from aiohttp import ClientSession
1616

1717
try:
18+
import boto3 # noqa: F401
19+
import warrant_lite # noqa: F401
1820
from botocore.exceptions import ClientError
1921

2022
HAS_NEXITY_DEPS = True

0 commit comments

Comments
 (0)