diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8454629..760f926 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: strategy: matrix: - node-version: [16, 18, 19, 20] + node-version: [16, 18, 20, 22] defaults: run: @@ -55,7 +55,7 @@ jobs: strategy: matrix: - node-version: [16, 18, 19, 20] + node-version: [16, 18, 20, 22] defaults: run: @@ -85,7 +85,7 @@ jobs: strategy: matrix: - node-version: [16, 18, 19, 20] + node-version: [16, 18, 20, 22] defaults: run: @@ -115,7 +115,7 @@ jobs: strategy: matrix: - python-version: [3.9, "3.10", 3.11] + python-version: [3.9, "3.10", 3.11, 3.12] defaults: run: diff --git a/cspell.json b/cspell.json index c7ffd3b..7af8ad3 100644 --- a/cspell.json +++ b/cspell.json @@ -5,7 +5,7 @@ "yarn-error.log", ".gitignore", "cspell.json", - "**/venv/**", + "**/venv*/**", "**/node_modules/**", "**/__pycache__/**", "**/requirements.txt", diff --git a/python/src/skale_contracts/project.py b/python/src/skale_contracts/project.py index e545095..66d331e 100644 --- a/python/src/skale_contracts/project.py +++ b/python/src/skale_contracts/project.py @@ -152,10 +152,12 @@ def _download_alternative_abi_file( return abi_file def _get_github_release_abi_url(self, version: str) -> str: - return f'{self.github_repo}releases/download/{version}/{ - self.get_abi_filename(version)}' + return f'{self.github_repo}releases/download/{version}/' + \ + f'{self.get_abi_filename(version)}' def _get_github_repository_abi_url(self, version: str) -> str: - return f'{self.github_repo.replace( + url = self.github_repo.replace( 'github.com', - 'raw.githubusercontent.com')}abi/{self.get_abi_filename(version)}' + 'raw.githubusercontent.com' + ) + return f'{url}abi/{self.get_abi_filename(version)}'