Skip to content

Commit

Permalink
Better defined input values
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Dec 27, 2024
1 parent 4691be0 commit 3d7c066
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions smartchg/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import sys

from contextlib import ExitStack
from datetime import date
from datetime import datetime as dt
from typing import TextIO

Expand Down Expand Up @@ -80,7 +81,11 @@ def save_values(data: dict, file: TextIO, fmt_rate: str = '',
print(f'{k}={f(data[k])}', file=file)


def compute_stuff():
def compute_stuff(data: list[dict], today: date, lookbehind: int,
apy: float, multiplier: float, rate: float, target: float):
'''
Computes the output data with statistics and the output values
'''
pass # TODO


Expand Down Expand Up @@ -116,7 +121,11 @@ def main(argv=None):
# - rate
# - target
#
# - fmt-...
# - fmt-days
# - fmt-rate
# - fmt-simil
# - fmt-src
# - fmt-dst

args = parser.parse_args(argv[1:])

Expand Down

0 comments on commit 3d7c066

Please sign in to comment.