Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
_MODULES.add("ape")

extras_require = {
"test": [ # `test` GitHub Action jobs uses this
"test": [ # `test` GitHub Action jobs use this
"pytest-xdist>=3.6.1,<4", # Multi-process runner
"pytest-cov>=4.0.0,<5", # Coverage analyzer plugin
"pytest-mock", # For creating mocks
Expand Down Expand Up @@ -40,7 +40,7 @@
"mdformat-pyproject>=0.0.2", # Allows configuring in pyproject.toml
],
"doc": ["sphinx-ape"],
"release": [ # `release` GitHub Action job uses this
"release": [ # `release` GitHub Action job use this
"setuptools>=75", # Installation tool
"wheel", # Packaging tool
"twine==3.8.0", # Package upload tool
Expand Down
8 changes: 4 additions & 4 deletions src/ape/api/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __repr__(self) -> str:
if _type := self.type_name:
return f"<Proxy {_type} target={self.target}>"

return "<Proxy target={self.target}"
return f"<Proxy target={self.target}>"

@property
def abi(self) -> Optional["MethodABI"]:
Expand All @@ -105,7 +105,7 @@ class EcosystemAPI(ExtraAttributesMixin, BaseInterfaceModel):

name: str
"""
The name of the ecosystem. This should be set the same name as the plugin.
The name of the ecosystem. This should be set to the same name as the plugin.
"""

# TODO: In 0.9, make @property that returns value from config,
Expand All @@ -117,7 +117,7 @@ class EcosystemAPI(ExtraAttributesMixin, BaseInterfaceModel):
"""The token symbol for the currency that pays for fees, such as ETH."""

fee_token_decimals: int = 18
"""The number of the decimals the fee token has."""
"""The number of decimals the fee token has."""

_default_network: Optional[str] = None
"""The default network of the ecosystem, such as ``local``."""
Expand Down Expand Up @@ -210,7 +210,7 @@ def encode_contract_blueprint( # type: ignore[empty-body]
**kwargs (Any): Transaction specifications, such as ``value``.

Returns:
:class:`~ape.ape.transactions.TransactionAPI`
:class:`~ape.api.transactions.TransactionAPI`
"""

@abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion src/ape/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def __init__(
):
prefix = (
f"The number of the given arguments ({arguments_length}) "
f"do not match what is defined in the ABI"
f"does not match what is defined in the ABI"
)
if inputs is None:
super().__init__(f"{prefix}.")
Expand Down
Loading