From db39be4947b50e9a38339c4a0e7cfaec358d7ddb Mon Sep 17 00:00:00 2001 From: Schlagonia Date: Thu, 19 Oct 2023 01:20:13 -0600 Subject: [PATCH] fix: black --- ape-config.yaml | 2 ++ scripts/deploy_address_provider.py | 5 ++++- scripts/deploy_registry.py | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ape-config.yaml b/ape-config.yaml index 425012a..0bd4631 100644 --- a/ape-config.yaml +++ b/ape-config.yaml @@ -28,6 +28,8 @@ dependencies: github: yearn/tokenized-strategy-periphery ref: master contracts_folder: src + exclude: + - test/ solidity: import_remapping: diff --git a/scripts/deploy_address_provider.py b/scripts/deploy_address_provider.py index c22d628..33fdfc0 100644 --- a/scripts/deploy_address_provider.py +++ b/scripts/deploy_address_provider.py @@ -8,6 +8,7 @@ deployer = accounts.load("") + def deploy_address_provider(): print("Deploying Address Provider on ChainID", chain.chain_id) @@ -34,7 +35,9 @@ def deploy_address_provider(): print("Init balance:", deployer.balance / 1e18) # generate and deploy - constructor = address_provider.constructor.encode_input("0x33333333D5eFb92f19a5F94a43456b3cec2797AE") + constructor = address_provider.constructor.encode_input( + "0x33333333D5eFb92f19a5F94a43456b3cec2797AE" + ) deploy_bytecode = HexBytes( HexBytes(address_provider.contract_type.deployment_bytecode.bytecode) diff --git a/scripts/deploy_registry.py b/scripts/deploy_registry.py index 76da003..509c388 100644 --- a/scripts/deploy_registry.py +++ b/scripts/deploy_registry.py @@ -8,6 +8,7 @@ deployer = accounts.load("") + def deploy_release_and_factory(): print("Deploying Vault Registry on ChainID", chain.chain_id) @@ -38,7 +39,9 @@ def deploy_release_and_factory(): if input("Do you want to deploy a new Release Registry? ") == "y": # generate and deploy release registry - release_constructor = release_registry.constructor.encode_input("0x33333333D5eFb92f19a5F94a43456b3cec2797AE") + release_constructor = release_registry.constructor.encode_input( + "0x33333333D5eFb92f19a5F94a43456b3cec2797AE" + ) release_deploy_bytecode = HexBytes( HexBytes(release_registry.contract_type.deployment_bytecode.bytecode)