Skip to content

Commit 7cfa3d4

Browse files
committed
double quote path in ci, fix mypy type confusion
1 parent bb594de commit 7cfa3d4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
TEST_TYPE: ${{ matrix.type }}
3333
GITHUB_ETHERSCAN: ${{ secrets.GITHUB_ETHERSCAN }}
3434
run: |
35-
bash scripts/travis_test_${TEST_TYPE}.sh
35+
bash "scripts/travis_test_${TEST_TYPE}.sh"

.github/workflows/etherscan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
TEST_TYPE: ${{ matrix.type }}
3232
GITHUB_ETHERSCAN: ${{ secrets.GITHUB_ETHERSCAN }}
3333
run: |
34-
bash scripts/travis_test_${TEST_TYPE}.sh
34+
bash "scripts/travis_test_${TEST_TYPE}.sh"

crytic_compile/platform/waffle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ def compile(self, crytic_compile: "CryticCompile", **kwargs: str) -> None:
169169
if not os.path.exists(combined_path):
170170
raise InvalidCompilation("`Combined-Json.json` not found")
171171

172-
with open(combined_path, "r", encoding="utf8") as file_desc:
173-
target_all = json.load(file_desc)
172+
with open(combined_path, encoding="utf8") as f:
173+
target_all = json.load(f)
174174

175175
optimized = None
176176

0 commit comments

Comments
 (0)