Skip to content

Commit

Permalink
chore: fix some comments (#2135)
Browse files Browse the repository at this point in the history
  • Loading branch information
fivecut authored Jun 13, 2024
1 parent 874f5ed commit c23edd7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/userguides/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ ape accounts import <ALIAS> --use-mnemonic --hd-path <HDPATH>
If you use the `--hd-path` option, you will need to pass the [HDPath](https://help.myetherwallet.com/en/articles/5867305-hd-wallets-and-derivation-paths) you'd like to use as an argument in the command.
If you do not use the `--hd-path` option, Ape will use the default HDPath of (Ethereum network, first account).

You can import an account programatically using a seed phrase [using `import_account_from_mnemonic()`](../methoddocs/ape_accounts.html#ape_accounts.import_account_from_mnemonic):
You can import an account programmatically using a seed phrase [using `import_account_from_mnemonic()`](../methoddocs/ape_accounts.html#ape_accounts.import_account_from_mnemonic):

```python
from ape_accounts import import_account_from_mnemonic
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_model_dump_and_validate(block):

def test_model_validate_web3_block():
"""
Show we have good compatability with web3.py native types.
Show we have good compatibility with web3.py native types.
"""
data = BlockData(number=123, timestamp=123, gasLimit=123, gasUsed=100) # type: ignore
actual = Block.model_validate(data)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/cli/test_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_import_alias_is_really_long(ape_cli, runner):
must ensure long aliases are supported.
"""

long_alias = "this is a long alias that i am going to use and you cant stop me"
long_alias = "this is a long alias that i am going to use and you can't stop me"
result = runner.invoke(
ape_cli,
("accounts", "import", long_alias),
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/cli/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from tests.integration.cli.utils import run_once

"""
The purpose of this unit test is to test the funcationality of `ape init`
The purpose of this unit test is to test the functionality of `ape init`
It should test the creation of directories, config.yaml, and .gitginore:
contracts
Expand Down

0 comments on commit c23edd7

Please sign in to comment.