diff --git a/setup.py b/setup.py index f7e09c0d05..3d2b4250b4 100644 --- a/setup.py +++ b/setup.py @@ -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 @@ -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 diff --git a/src/ape/api/networks.py b/src/ape/api/networks.py index 490ad44aa8..8e146ca80e 100644 --- a/src/ape/api/networks.py +++ b/src/ape/api/networks.py @@ -87,7 +87,7 @@ def __repr__(self) -> str: if _type := self.type_name: return f"" - return "" @property def abi(self) -> Optional["MethodABI"]: @@ -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, @@ -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``.""" @@ -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 diff --git a/src/ape/exceptions.py b/src/ape/exceptions.py index 9053f015dc..17526d61e4 100644 --- a/src/ape/exceptions.py +++ b/src/ape/exceptions.py @@ -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}.")