feat: Add Melipayamak (ملی پیامک) platform plugin - #6
Merged
Conversation
🔎 Lint report:
|
| Rule | Count |
|---|---|
unknown |
7 |
First entries
plugins/platforms/melipayamak/__init__.py:1: [unknown] Expected a newline after line continuation character
plugins/platforms/melipayamak/__init__.py:1: [unknown] Simple statements must be separated by newlines or semicolons
plugins/platforms/melipayamak/adapter.py:57: [unknown] Expected an expression
plugins/platforms/melipayamak/adapter.py:49: [unknown] Expected an indented block after `try` statement
plugins/platforms/melipayamak/__init__.py:1: [unknown] Expected `,`, found `=`
plugins/platforms/melipayamak/adapter.py:58: [unknown] Unexpected indentation
plugins/platforms/melipayamak/adapter.py:63: [unknown] Expected a statement
✅ Fixed issues: none
Unchanged: 0 pre-existing issues carried over.
ty (type checker)
Total: 11507 on HEAD, 11493 on base (🆕 +14)
🆕 New issues (12):
| Rule | Count |
|---|---|
invalid-syntax |
7 |
unresolved-import |
3 |
invalid-argument-type |
1 |
invalid-assignment |
1 |
First entries
plugins/platforms/melipayamak/__init__.py:1: [invalid-syntax] invalid-syntax: Expected a newline after line continuation character
plugins/platforms/melipayamak/adapter.py:57: [invalid-syntax] invalid-syntax: Expected an expression
plugins/platforms/melipayamak/adapter.py:63: [invalid-syntax] invalid-syntax: Expected a statement
plugins/platforms/melipayamak/adapter.py:49: [invalid-syntax] invalid-syntax: Expected an indented block after `try` statement
plugins/platforms/melipayamak/__init__.py:1: [unresolved-import] unresolved-import: Module `plugins.platforms.melipayamak.adapter` has no member `n__all__`
plugins/platforms/melipayamak/adapter.py:27: [invalid-argument-type] invalid-argument-type: Argument to `BasePlatformAdapter.__init__` is incorrect: Expected `Platform`, found `Literal["melipayamak"]`
plugins/platforms/melipayamak/adapter.py:58: [invalid-syntax] invalid-syntax: Unexpected indentation
plugins/platforms/melipayamak/__init__.py:1: [invalid-syntax] invalid-syntax: Simple statements must be separated by newlines or semicolons
tests/run_agent/test_credits_notices_toggle.py:76: [invalid-assignment] invalid-assignment: Object of type `None` is not assignable to attribute `_credits_session_start_micros` of type `int`
plugins/platforms/melipayamak/__init__.py:1: [invalid-syntax] invalid-syntax: Expected `,`, found `=`
plugins/platforms/melipayamak/adapter.py:15: [unresolved-import] unresolved-import: Cannot resolve imported module `aiohttp`
plugins/platforms/melipayamak/__init__.py:1: [unresolved-import] unresolved-import: Module `plugins.platforms.melipayamak.adapter` has no member `n`
✅ Fixed issues (2):
| Rule | Count |
|---|---|
unresolved-attribute |
2 |
First entries
tests/run_agent/test_credits_notices_toggle.py:76: [unresolved-attribute] unresolved-attribute: Unresolved attribute `_credits_session_start_micros` on type `AIAgent`
run_agent.py:3002: [unresolved-attribute] unresolved-attribute: Object of type `Self@get_credits_spent_micros` has no attribute `_credits_session_start_micros`
Unchanged: 6037 pre-existing issues carried over.
Diagnostics are surfaced as warnings — this check never fails the build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for Melipayamak (ملی پیامک) API integration.\n\nCreated automatically by Hermes Agent.