Skip to content

Broken with Typer 0.14+ #4

@flying-sheep

Description

@flying-sheep

Since 0.14.0, callback is only supported together with name: fastapi/typer#1052

uvx --with=anyconfig[toml] coverage-rich report
…/bin/coverage-rich:10: UserWarning: The 'callback' parameter is not supported by Typer when using `add_typer` without a name
  sys.exit(app())
Usage: coverage-rich [OPTIONS] COMMAND [ARGS]...
Try 'coverage-rich --help' for help.
╭─ Error ───────────────────╮
│ No such command 'report'. │
╰───────────────────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions