Skip to content

Commit

Permalink
Fix lines
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaStebaev committed Jul 16, 2024
1 parent 5106c9c commit 7a2112b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

strategy:
matrix:
node-version: [16, 18, 19, 20]
node-version: [16, 18, 20, 22]

defaults:
run:
Expand All @@ -55,7 +55,7 @@ jobs:

strategy:
matrix:
node-version: [16, 18, 19, 20]
node-version: [16, 18, 20, 22]

defaults:
run:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:

strategy:
matrix:
node-version: [16, 18, 19, 20]
node-version: [16, 18, 20, 22]

defaults:
run:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"yarn-error.log",
".gitignore",
"cspell.json",
"**/venv/**",
"**/venv*/**",
"**/node_modules/**",
"**/__pycache__/**",
"**/requirements.txt",
Expand Down
10 changes: 6 additions & 4 deletions python/src/skale_contracts/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}'

0 comments on commit 7a2112b

Please sign in to comment.