From b36eb8913bcccdfc89cb1d567ea34b86caa5f2b3 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Thu, 21 Dec 2023 14:03:30 -0600 Subject: [PATCH] chore: mdformat and double log --- README.md | 4 ++-- ape_solidity/compiler.py | 1 - setup.py | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4dfa726..3e389e8 100644 --- a/README.md +++ b/README.md @@ -97,8 +97,8 @@ Use the `add_library()` method from the `ape-solidity` compiler class to add the A typical flow is: 1. Deploy the library. -1. Call `add_library()` using the Solidity compiler plugin, which will also re-compile contracts that need the library. -1. Deploy and use contracts that require the library. +2. Call `add_library()` using the Solidity compiler plugin, which will also re-compile contracts that need the library. +3. Deploy and use contracts that require the library. For example: diff --git a/ape_solidity/compiler.py b/ape_solidity/compiler.py index ba62a95..37acb1b 100644 --- a/ape_solidity/compiler.py +++ b/ape_solidity/compiler.py @@ -455,7 +455,6 @@ def get_standard_input_json( if not list(files_by_solc_version[solc_version]): continue - logger.debug(f"Compiling using Solidity compiler '{solc_version}'") cleaned_version = Version(solc_version.base_version) solc_binary = get_executable(version=cleaned_version) arguments = {"solc_binary": solc_binary, "solc_version": cleaned_version} diff --git a/setup.py b/setup.py index b4506b6..fa761d7 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,7 @@ "mdformat>=0.7.17", # Auto-formatter for markdown "mdformat-gfm>=0.3.5", # Needed for formatting GitHub-flavored markdown "mdformat-frontmatter>=0.4.1", # Needed for frontmatters-style headers in issue templates + "mdformat-pyproject>=0.0.1", # Allows configuring in pyproject.toml ], "doc": [ "Sphinx>=6.1.3,<7", # Documentation generator