Skip to content

Commit

Permalink
run refill template vars script
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Apr 26, 2023
1 parent da071ff commit 5135385
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -44,7 +44,7 @@ windows_steps: &windows_steps
executor:
name: win/default
shell: bash.exe
working_directory: C:\Users\circleci\project\<REPO_NAME>
working_directory: C:\Users\circleci\project\eth-account
steps:
- checkout
- restore_cache:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Expand Up @@ -41,8 +41,8 @@ body:
- type: input
id: lib-version
attributes:
label: <PYPI_NAME> Version
description: Which version of <PYPI_NAME> are you using?
label: eth-account Version
description: Which version of eth-account are you using?
placeholder: x.x.x
validations:
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Questions about using <REPO_NAME>?
- 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
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Expand Up @@ -10,7 +10,7 @@ Closes #

- [ ] Add or update documentation related to these changes

- [ ] Add entry to the [release notes](https://github.com/ethereum/<REPO_NAME>/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

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -31,8 +31,8 @@ lint:
tox run -e lint

lint-roll:
isort <MODULE_NAME> tests
black <MODULE_NAME> tests setup.py
isort eth_account tests
black eth_account tests setup.py
$(MAKE) lint

test:
Expand Down
10 changes: 5 additions & 5 deletions 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/<REPO_NAME>.svg?style=shield)](https://circleci.com/gh/ethereum/<REPO_NAME>)
[![PyPI version](https://badge.fury.io/py/<PYPI_NAME>.svg)](https://badge.fury.io/py/<PYPI_NAME>)
[![Python versions](https://img.shields.io/pypi/pyversions/<PYPI_NAME>.svg)](https://pypi.python.org/pypi/<PYPI_NAME>)
[![Docs build](https://readthedocs.org/projects/<RTD_NAME>/badge/?version=latest)](https://<RTD_NAME>.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
Expand All @@ -14,7 +14,7 @@ Read more in the [documentation on ReadTheDocs](https://eth-account.readthedocs.
## Quickstart

```sh
python -m pip install <PYPI_NAME>
python -m pip install eth-account
```

## Developer Setup
Expand Down
8 changes: 4 additions & 4 deletions docs/contributing.rst
Expand Up @@ -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 <PROJECT_NAME> repository:
First, we need to clone the eth-account repository:

.. code:: sh
$ git clone https://github.com/ethereum/<REPO_NAME>.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 <REPO_NAME> directory and running:
This is as easy as navigating to the eth-account directory and running:

.. code:: sh
Expand Down Expand Up @@ -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 <https://github.com/ethereum/<REPO_NAME>/blob/main/newsfragments/README.md>`_.
`here <https://github.com/ethereum/eth-account/blob/main/newsfragments/README.md>`_.

If possible, the change to the release notes file should be included in the commit that introduces the
feature or bugfix.
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -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": [
Expand Down
20 changes: 10 additions & 10 deletions tox.ini
Expand Up @@ -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=<MODULE_NAME>
known_first_party=eth_account
multi_line_output=3
profile=black

Expand Down Expand Up @@ -44,11 +44,11 @@ basepython=python
extras=lint
allowlist_externals=black
commands=
mypy -p <MODULE_NAME> --config-file {toxinidir}/mypy.ini
flake8 {toxinidir}/<MODULE_NAME> {toxinidir}/tests
isort --check-only --diff {toxinidir}/<MODULE_NAME> {toxinidir}/tests
pydocstyle --explain {toxinidir}/<MODULE_NAME> {toxinidir}/tests
black --check {toxinidir}/<MODULE_NAME> {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
Expand All @@ -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/<MODULE_NAME>-*-py3-none-any.whl)" --progress-bar off'
python -c "import <MODULE_NAME>"
/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]
Expand All @@ -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/<MODULE_NAME>-*-py3-none-any.whl)" --progress-bar off'
python -c "import <MODULE_NAME>"
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

0 comments on commit 5135385

Please sign in to comment.