Skip to content

Commit

Permalink
add new test versions, fix tuple to Tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
goranvrbaski committed Oct 8, 2024
1 parent af98427 commit 480d8f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions namesilo/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import requests
import xmltodict

from typing import List
from typing import List, Tuple

from namesilo.common import DomainInfo
from namesilo.exceptions import exception_codes
Expand Down Expand Up @@ -330,7 +330,7 @@ def delete_contact(self, contact_id) -> bool:
parsed_context = self._process_data(url_extend)
return parsed_context

def add_account_funds(self, amount: float, payment_id: int) -> tuple[bool, float]:
def add_account_funds(self, amount: float, payment_id: int) -> Tuple[bool, float]:
"""
Adding funds to Namesilo account
Expand Down

0 comments on commit 480d8f2

Please sign in to comment.