From df5e72f7ae58413a84baa0852550005ad101f8f1 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 9 Jun 2025 10:11:10 -0400 Subject: [PATCH] max_pain-script: bit of multi-line fmting --- examples/max_pain.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/max_pain.py b/examples/max_pain.py index 36691889..e0f444a7 100755 --- a/examples/max_pain.py +++ b/examples/max_pain.py @@ -54,9 +54,13 @@ async def max_pain_daemon( kind=kind ) - print(f'Available expiration dates for {currency}-{kind}:') - print(f'{expiry_dates}') - expiry_date = input('Please enter a valid expiration date: ').upper() + log.info( + f'Available expiries for {currency!r}-{kind}:\n' + f'{expiry_dates}\n' + ) + expiry_date: str = input( + 'Please enter a valid expiration date: ' + ).upper() print('Starting little daemon...') # maybe move this type annot down to the assignment line?