Skip to content

Commit

Permalink
chore: updated ape core version (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotPeopling2day committed Jul 27, 2022
1 parent 694a3b8 commit 4606d84
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # eventually add `windows-latest`
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, '3.10']

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 22.3.0
rev: 22.6.0
hooks:
- id: black
name: black
Expand All @@ -21,7 +21,7 @@ repos:
- id: flake8

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
rev: v0.971
hooks:
- id: mypy
additional_dependencies: [types-PyYAML, types-requests]
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ source venv/bin/activate
python setup.py install

# Install the developer dependencies (-e is interactive mode)
pip install -e .[dev]
pip instal -e .'[dev]'
```

## Pre-Commit Hooks
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

extras_require = {
"test": [ # `test` GitHub Action jobs uses this
"pytest>=6.0,<7.0", # Core testing package
"pytest>=6.0", # Core testing package
"pytest-xdist", # multi-process runner
"pytest-cov", # Coverage analyzer plugin
"hypothesis>=6.2.0,<7.0", # Strategy-based fuzzer
],
"lint": [
"black>=22.3.0,<23.0", # auto-formatter and linter
"mypy>=0.961,<1.0", # Static type analyzer
"mypy>=0.971,<1.0", # Static type analyzer
"flake8>=4.0.1,<5.0", # Style linter
"isort>=5.10.1,<6.0", # Import sorting linter
],
Expand Down Expand Up @@ -54,7 +54,7 @@
include_package_data=True,
install_requires=[
"importlib-metadata ; python_version<'3.8'",
"eth-ape>=0.3.0,<0.4.0",
"eth-ape>=0.4.0,<0.5.0",
],
python_requires=">=3.7.2,<3.11",
extras_require=extras_require,
Expand Down
5 changes: 4 additions & 1 deletion tests/test_provider.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
def test_use_provider(accounts, networks):
with networks.fantom.local.use_provider("test"):
account = accounts.test_accounts[0]
account.transfer(account, 100)
receipt = account.transfer(account, 100)

assert not receipt.failed
assert receipt.value == 100

0 comments on commit 4606d84

Please sign in to comment.