Repository: zpieslak/mobilus-client (language: python)

Issue:
Add py.typed file 
Add a py.typed marker file to the module directory to signal that the package is typed and compatible with mypy type checking.


Discussion / hints:

Fix patch:
diff --git a/mobilus_client/py.typed b/mobilus_client/py.typed
new file mode 100644
index 0000000..e69de29


Test patch:
diff --git a/tests/messages/test_encryptor.py b/tests/messages/test_encryptor.py
index bba0770..4d7bd02 100644
--- a/tests/messages/test_encryptor.py
+++ b/tests/messages/test_encryptor.py
@@ -1,3 +1,4 @@
+import sys
 import unittest
 from unittest.mock import Mock, patch
 
@@ -162,4 +163,7 @@ def test_decrypt_invalid_message_with_invalid_key(self) -> None:
 
         result = MessageEncryptor.decrypt(encrypted_message, self.key_registry)
 
+        # Track flaky test
+        sys.stdout.write(f"result:{type(result)}:")
+
         self.assertIsNone(result)