--verbose option on arkindex process report broke
mbonhomme@nuc-paris:~/dev/arkindex/cli$ arkindex process report 01dcb6e3-a0c3-41de-bbd9-73daa4d14698 --verbose
Element e3a1e6e7-8cbf-431d-8f63-c390f8c3ee15: 1 error(s)
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ │
│ /home/mbonhomme/.local/bin/arkindex:11 in <module> │
│ │
│ 8 if __name__ == '__main__': │
│ 9 │ sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) │
│ 10 │ sys.exit( │
│ ❱ 11 │ │ load_entry_point('arkindex-cli', 'console_scripts', 'arkindex')() │
│ 12 │ ) │
│ 13 │
│ /home/mbonhomme/dev/arkindex/cli/arkindex_cli/cli.py:71 in main │
│ │
│ 68 │ if "func" in args: │
│ 69 │ │ # Run the subcommand's function │
│ 70 │ │ try: │
│ ❱ 71 │ │ │ status = args.pop("func")(**args) │
│ 72 │ │ │ parser.exit(status=status) │
│ 73 │ │ except KeyboardInterrupt: │
│ 74 │ │ │ # Just quit silently on ^C instead of displaying a long traceback │
│ │
│ /home/mbonhomme/dev/arkindex/cli/arkindex_cli/commands/process/report.py:77 in run │
│ │
│ 74 │ │ │ │ │ error.get("traceback", "") │
│ 75 │ │ │ │ │ + f"\n{error['class']}: {error['message']}" │
│ 76 │ │ │ │ ) │
│ ❱ 77 │ │ │ │ rich_print(Panel(Syntax(output, lexer_name="python3"))) │
│ 78 │ │
│ 79 │ if json_output: │
│ 80 │ │ print(json.dumps(ml_report.failed_elements)) │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: __init__() got an unexpected keyword argument 'lexer_name'
Probably no one uses this anymore, but if we're keeping it it would be better if it worked.