Skip to content

Commit 3b8989d

Browse files
msch-nutrientclaude
andcommitted
Fix MyPy type errors in tests
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 7b4b043 commit 3b8989d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/test_live_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from nutrient_dws import NutrientClient
99

1010
try:
11-
from . import integration_config
11+
from . import integration_config # type: ignore[attr-defined]
1212
API_KEY = integration_config.API_KEY
1313
BASE_URL = getattr(integration_config, 'BASE_URL', None)
1414
TIMEOUT = getattr(integration_config, 'TIMEOUT', 60)

tests/unit/test_file_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ def test_get_file_size_none():
5252
class DummyFile:
5353
pass
5454

55-
size = get_file_size(DummyFile())
55+
size = get_file_size(DummyFile()) # type: ignore[arg-type]
5656
assert size is None

0 commit comments

Comments
 (0)