Tidy.
This commit is contained in:
parent
758d02db8e
commit
71ed878c2a
2 changed files with 2 additions and 1 deletions
|
@ -107,6 +107,7 @@ def build_parser():
|
|||
def formatter(prog):
|
||||
return argparse.HelpFormatter(prog, max_help_position=50)
|
||||
|
||||
default_fmt = Format()
|
||||
parser = argparse.ArgumentParser(
|
||||
prog="pricehist",
|
||||
description="Fetch historical price data",
|
||||
|
@ -256,7 +257,6 @@ def build_parser():
|
|||
type=int,
|
||||
help="round to the given number of decimal places",
|
||||
)
|
||||
default_fmt = Format()
|
||||
fetch_parser.add_argument(
|
||||
"--fmt-base",
|
||||
dest="formatbase",
|
||||
|
|
|
@ -2,6 +2,7 @@ import csv
|
|||
import io
|
||||
|
||||
from pricehist.format import Format
|
||||
|
||||
from .baseoutput import BaseOutput
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue