From fa9b98cffbaae2ddfa47cf8c8532122f86590de9 Mon Sep 17 00:00:00 2001 From: NotPeopling2day <32708219+NotPeopling2day@users.noreply.github.com> Date: Thu, 28 Jul 2022 02:05:31 +0200 Subject: [PATCH] chore: update ape core 0.4.0 (#27) --- .pre-commit-config.yaml | 5 +++-- CONTRIBUTING.md | 2 +- README.md | 4 ++-- pyproject.toml | 2 +- setup.py | 9 ++++----- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec99657..15cf210 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -21,9 +21,10 @@ 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] default_language_version: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cc4a25b..4ed4dcf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 install -e .'[dev]' ``` ## Pre-Commit Hooks diff --git a/README.md b/README.md index 49da6f7..f18afe6 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # ape-ledger -Ape Ledger is a plugin for Ape Framework which integrates with Ledger devices +Ape Ledger is a plugin for Ape Framework which integrates with Ledger devices to load and create accounts, sign messages, and sign transactions. ## Dependencies -* [python3](https://www.python.org/downloads) version 3.7 or greater, python3-dev +* [python3](https://www.python.org/downloads) version 3.7.2 or greater, python3-dev ## Installation diff --git a/pyproject.toml b/pyproject.toml index 9dddb0d..9f820e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ write_to = "ape_ledger/version.py" [tool.black] line-length = 100 -target-version = ['py37', 'py38', 'py39', 'py310'] +target-version = ['py37', 'py38', 'py39'] include = '\.pyi?$' [tool.pytest.ini_options] diff --git a/setup.py b/setup.py index 113ace4..53a2814 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ 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 "pytest-mock", # For creating mocks @@ -12,8 +12,8 @@ "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 + "black>=22.6.0,<23.0", # auto-formatter and linter + "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 ], @@ -57,7 +57,7 @@ install_requires=[ "click>=8.0.0", "hidapi==0.10.1", - "eth-ape>=0.3.0,<0.4.0", + "eth-ape>=0.4.0,<0.5.0", "eth-account>=0.5.6,<0.6.0", "eth-typing>=2.2.2", "eth-utils>=1.10.0", @@ -89,6 +89,5 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", ], )