Skip to content

Commit

Permalink
Fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Apr 10, 2024
1 parent 63cdc62 commit bca6f8f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
PYTHONPATH: ${{ github.workspace }}
# pass internals to pytest-cov, since we are testing a pytest plugin.
# See https://github.com/pytest-dev/pytest-cov/blob/2c9f2170/docs/plugins.rst
COV_CORE_SOURCE: boa
COV_CORE_SOURCE: boa_zksync
COV_CORE_CONFIG: .coveragerc
COV_CORE_DATAFILE: .coverage.eager
run: >-
pytest
--cov=boa
--cov=boa_zksync
--cov-append
--cov-report term-missing:skip-covered
--cov-fail-under=70
-nauto
tests/unitary/
tests
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:
- --ignore-missing-imports
- --implicit-optional
- --package
- boa
- boa_zksync

default_language_version:
python: python3.10
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
name = "titanoboa-zksync"
version = "0.0.1"
description = "A Zksync plugin for the Titanoboa Vyper interpreter"
authors = ["Daniel Schiavini"]
license = { file = "LICENSE" }
readme = "README.md"
keywords = ["ethereum", "evm", "smart contract", "development", "vyper", "zksync"]
classifiers = ["Topic :: Software Development"]

# Requirements
dependencies = [
"titanoboa",
"titanoboa@git+https://github.com/vyperlang/titanoboa@master",
]

[project.optional-dependencies]
Expand Down
8 changes: 3 additions & 5 deletions test/test_zksync.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import socket
import sys
from subprocess import Popen, TimeoutExpired
from time import sleep

import boa
import pytest
import requests
from eth_account import Account

import boa
from boa_zksync.env import ZksyncEnv
import socket

from requests.exceptions import ConnectionError

from boa_zksync.env import ZksyncEnv
from boa_zksync.interpret import loads_zksync
from boa_zksync.rpc import ZksyncRPC

Expand Down

0 comments on commit bca6f8f

Please sign in to comment.