~savoy/ade

d0ba0ede6231c95cd77c08d02042f6eee2490ccb — savoy 2 years ago 72bc401
bug: override for formatting works in GUI

Signed-off-by: savoy <git@liberation.red>
2 files changed, 3 insertions(+), 0 deletions(-)

M ade/ade.py
M ade/lib/arguments.py
M ade/ade.py => ade/ade.py +2 -0
@@ 64,6 64,8 @@ def run(args: argparse.Namespace):
            setattr(report.required, key, value)
        elif key in report.optional.__annotations__:
            setattr(report.optional, key, value)
        elif key in ["formatting"]:
            setattr(report, key, value)

    print_pyinstaller("Constructing query: 2/6")
    construct = remote.Super(report)

M ade/lib/arguments.py => ade/lib/arguments.py +1 -0
@@ 324,6 324,7 @@ def parser(reports: list[rp.Report]) -> argparse.Namespace:
                ("--formatting",),
                {
                    "action": "store_true",
                    "default": rep.report.formatting,
                },
            ),
            Argument(