diff --git a/.circleci/config.yml b/.circleci/config.yml index 4396284b..77007ff5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,7 @@ windows_steps: &windows_steps executor: name: win/default shell: bash.exe - working_directory: C:\Users\circleci\project\ + working_directory: C:\Users\circleci\project\eth-account steps: - checkout - restore_cache: diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a0c80c07..712a9c3c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -41,8 +41,8 @@ body: - type: input id: lib-version attributes: - label: Version - description: Which version of are you using? + label: eth-account Version + description: Which version of eth-account are you using? placeholder: x.x.x validations: required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 9853c794..1a646c94 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: true contact_links: - - name: Questions about using ? + - name: Questions about using eth-account? url: https://discord.gg/GHryRvPB84 about: You can ask and answer usage questions on the Ethereum Python Community Discord diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index b3298852..f201cd6e 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,7 +10,7 @@ Closes # - [ ] Add or update documentation related to these changes -- [ ] Add entry to the [release notes](https://github.com/ethereum//blob/master/newsfragments/README.md) +- [ ] Add entry to the [release notes](https://github.com/ethereum/eth-account/blob/master/newsfragments/README.md) #### Cute Animal Picture diff --git a/Makefile b/Makefile index b8ba266c..f3a75f5f 100644 --- a/Makefile +++ b/Makefile @@ -31,8 +31,8 @@ lint: tox run -e lint lint-roll: - isort tests - black tests setup.py + isort eth_account tests + black eth_account tests setup.py $(MAKE) lint test: diff --git a/README.md b/README.md index 9dd65ae4..e4b95c26 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # eth-account [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84) -[![Build Status](https://circleci.com/gh/ethereum/.svg?style=shield)](https://circleci.com/gh/ethereum/) -[![PyPI version](https://badge.fury.io/py/.svg)](https://badge.fury.io/py/) -[![Python versions](https://img.shields.io/pypi/pyversions/.svg)](https://pypi.python.org/pypi/) -[![Docs build](https://readthedocs.org/projects//badge/?version=latest)](https://.readthedocs.io/en/latest/?badge=latest) +[![Build Status](https://circleci.com/gh/ethereum/eth-account.svg?style=shield)](https://circleci.com/gh/ethereum/eth-account) +[![PyPI version](https://badge.fury.io/py/eth-account.svg)](https://badge.fury.io/py/eth-account) +[![Python versions](https://img.shields.io/pypi/pyversions/eth-account.svg)](https://pypi.python.org/pypi/eth-account) +[![Docs build](https://readthedocs.org/projects/eth-account/badge/?version=latest)](https://eth-account.readthedocs.io/en/latest/?badge=latest) Sign Ethereum transactions and messages with local private keys @@ -14,7 +14,7 @@ Read more in the [documentation on ReadTheDocs](https://eth-account.readthedocs. ## Quickstart ```sh -python -m pip install +python -m pip install eth-account ``` ## Developer Setup diff --git a/docs/contributing.rst b/docs/contributing.rst index 926b87ce..74ff2286 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -7,17 +7,17 @@ Thank you for your interest in contributing! We welcome all contributions no mat Setting the stage ~~~~~~~~~~~~~~~~~ -First, we need to clone the repository: +First, we need to clone the eth-account repository: .. code:: sh - $ git clone https://github.com/ethereum/.git + $ git clone https://github.com/ethereum/eth-account.git .. include:: /fragments/virtualenv_explainer.rst After we have activated our virtual environment, we need to install all dependencies that are needed to run, develop, and test. -This is as easy as navigating to the directory and running: +This is as easy as navigating to the eth-account directory and running: .. code:: sh @@ -93,7 +93,7 @@ do not pass the CI build yet won't get reviewed unless explicitly requested. If the pull request introduces changes that should be reflected in the release notes, please add a `newsfragment` file as explained -`here /blob/main/newsfragments/README.md>`_. +`here `_. If possible, the change to the release notes file should be included in the commit that introduces the feature or bugfix. diff --git a/setup.py b/setup.py index 8c3d71db..847a7c28 100644 --- a/setup.py +++ b/setup.py @@ -8,15 +8,15 @@ extras_require = { "test": [ "hypothesis>=4.18.0,<5", - "pytest>=6.2.5,<7", - "pytest-xdist", + "pytest>=7.0.0", + "pytest-xdist>=2.4.0", "coverage", ], "lint": [ "flake8==3.7.9", "isort>=4.2.15,<5", "mypy==0.910", - "pydocstyle>=5.0.0,<6", + "pydocstyle>=6.0.0", "black>=22,<23", ], "doc": [ diff --git a/tox.ini b/tox.ini index ff7b4b4a..40ef819f 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ combine_as_imports=True force_grid_wrap=1 force_sort_within_sections=True known_third_party=hypothesis,pytest -known_first_party= +known_first_party=eth_account multi_line_output=3 profile=black @@ -44,11 +44,11 @@ basepython=python extras=lint allowlist_externals=black commands= - mypy -p --config-file {toxinidir}/mypy.ini - flake8 {toxinidir}/ {toxinidir}/tests - isort --check-only --diff {toxinidir}/ {toxinidir}/tests - pydocstyle --explain {toxinidir}/ {toxinidir}/tests - black --check {toxinidir}/ {toxinidir}/docs {toxinidir}/tests {toxinidir}/setup.py + mypy -p eth_account --config-file {toxinidir}/mypy.ini + flake8 {toxinidir}/eth_account {toxinidir}/tests + isort --check-only --diff {toxinidir}/eth_account {toxinidir}/tests + pydocstyle --explain {toxinidir}/eth_account {toxinidir}/tests/core + black --check {toxinidir}/eth_account {toxinidir}/docs {toxinidir}/tests {toxinidir}/setup.py [testenv:lint] basepython: python @@ -70,8 +70,8 @@ commands= python -m pip install --upgrade pip /bin/rm -rf build dist python -m build - /bin/bash -c 'python -m pip install --upgrade "$(ls dist/-*-py3-none-any.whl)" --progress-bar off' - python -c "import " + /bin/bash -c 'python -m pip install --upgrade "$(ls dist/eth_account-*-py3-none-any.whl)" --progress-bar off' + python -c "import eth_account" skip_install=true [testenv:py311-wheel-windows] @@ -84,6 +84,6 @@ commands= python -m pip install --upgrade pip bash.exe -c "rm -rf build dist" python -m build - bash.exe -c 'python -m pip install --upgrade "$(ls dist/-*-py3-none-any.whl)" --progress-bar off' - python -c "import " + bash.exe -c 'python -m pip install --upgrade "$(ls dist/eth_account-*-py3-none-any.whl)" --progress-bar off' + python -c "import eth_account" skip_install=true