Typer, build great CLIs. Easy to code. Based on Python type hints.
This report summarizes scanner evidence for fastapi/typer, a Python project with 20,055 GitHub stars. SynthScan examined 51,645 lines of code across 756 source files, recording 518 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 14.4 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 325 finding(s).
Are imports declared and package/API names verified? 53 finding(s).
Are wrappers, guards, and repeated structures necessary? 427 finding(s).
Which changes need focused human review? 518 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 518 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/_types.py | 95 | def get_invalid_choice_message(self, value: Any, ctx: _click.Context | None) -> str: | CODE |
| LOW | typer/completion.py | 17 | def get_completion_inspect_parameters() -> tuple[ParamMeta, ParamMeta]: | CODE |
| LOW | typer/completion.py | 64 | def _install_completion_placeholder_function( | CODE |
| LOW | typer/completion.py | 83 | def _install_completion_no_auto_placeholder_function( | CODE |
| LOW | typer/core.py | 45 | def _typer_param_setup_autocompletion_compat( | CODE |
| LOW | typer/core.py | 140 | def _extract_default_help_str( | CODE |
| LOW | typer/core.py | 322 | def _extract_default_help_str( | CODE |
| LOW | typer/core.py | 744 | def _extract_default_help_str( | CODE |
| LOW | typer/core.py | 882 | def _typer_main_shell_completion( | CODE |
| LOW | typer/rich_utils.py | 737 | def escape_before_html_export(input_text: str) -> str: | CODE |
| LOW | typer/utils.py | 10 | def _param_type_to_user_string(param_type: type[ParameterInfo]) -> str: | CODE |
| LOW | typer/utils.py | 94 | def _split_annotation_from_typer_annotations( | CODE |
| LOW | typer/main.py | 112 | def get_install_completion_arguments() -> tuple[_click.Parameter, _click.Parameter]: | CODE |
| LOW | typer/main.py | 1248 | def solve_typer_info_defaults(typer_info: TyperInfo) -> TyperInfo: | CODE |
| LOW | typer/main.py | 1364 | def get_default_option_flag_name(name: str, metavar: str | None) -> str: | CODE |
| LOW | typer/main.py | 1373 | def get_params_convertors_ctx_param_name_from_function( | CODE |
| LOW | typer/_click/_winconsole.py | 280 | def _get_windows_console_stream( | CODE |
| LOW | typer/_click/core.py | 36 | def _complete_visible_commands( | CODE |
| LOW | typer/_click/core.py | 74 | def iter_params_for_processing( | CODE |
| LOW | typer/_click/core.py | 358 | def _close_with_exception_info( | CODE |
| LOW | typer/_click/parser.py | 304 | def _process_args_for_options(self, state: _ParsingState) -> None: | CODE |
| LOW | typer/_click/utils.py | 37 | def _escape_control_characters(value: str) -> str: | CODE |
| LOW | typer/_click/_compat.py | 188 | def _is_compatible_text_stream( | CODE |
| LOW | typer/_click/_compat.py | 199 | def _force_correct_text_stream( | CODE |
| LOW | typer/_click/_compat.py | 241 | def _force_correct_text_reader( | CODE |
| LOW | typer/_click/_compat.py | 255 | def _force_correct_text_writer( | CODE |
| LOW | typer/_click/_compat.py | 444 | def _is_jupyter_kernel_output(stream: IO[Any]) -> bool: | CODE |
| LOW | typer/_click/_compat.py | 512 | def _get_windows_console_stream( | CODE |
| LOW | tests/test_termui.py | 113 | def test_clirunner_invoke_system_exit_branches( | CODE |
| LOW | tests/test_termui.py | 135 | def test_termui_impl_windows_raw_terminal(): | CODE |
| LOW | tests/test_termui.py | 143 | def test_termui_impl_windows_getchar(monkeypatch): | CODE |
| LOW | tests/test_termui.py | 176 | def test_termui_impl_posix_raw_terminal(monkeypatch, use_stdin_tty: bool): | CODE |
| LOW | tests/test_termui.py | 250 | def test_termui_impl_posix_getchar(monkeypatch): | CODE |
| LOW | tests/test_termui.py | 267 | def test_termui_impl_posix_getchar_eof(monkeypatch): | CODE |
| LOW | tests/test_termui.py | 357 | def test_echo_windows_color_none( | CODE |
| LOW | tests/test_progress_bar.py | 115 | def test_progressbar_tty_show_eta(monkeypatch): | CODE |
| LOW | tests/test_progress_bar.py | 146 | def test_progressbar_autowidth(monkeypatch): | CODE |
| LOW | tests/test_progress_bar.py | 236 | def test_progress_bar_time_zero_steps(monkeypatch): | CODE |
| LOW | tests/test_progress_bar.py | 340 | def test_progress_bar_unknown_length( | CODE |
| LOW | tests/test_launch.py | 44 | def test_launch_url_no_xdg_open(): | CODE |
| LOW | tests/test_launch.py | 55 | def test_launch_url_linux_xdg_open_does_not_wait_by_default(): | CODE |
| LOW | tests/test_launch.py | 72 | def test_launch_url_linux_xdg_open_waits_when_requested(): | CODE |
| LOW | tests/test_launch.py | 122 | def test_launch_files_windows(monkeypatch): | CODE |
| LOW | tests/test_launch.py | 155 | def test_open_url_linux_locate(monkeypatch): | CODE |
| LOW | tests/test_prepare_release.py | 39 | def test_update_version_file_requires_newer_version() -> None: | CODE |
| LOW | tests/test_prepare_release.py | 46 | def test_update_release_notes() -> None: | CODE |
| LOW | tests/test_prepare_release.py | 87 | def test_update_release_notes_rejects_existing_version() -> None: | STRING |
| LOW | tests/test_prepare_release.py | 101 | def test_get_release_notes_body_with_dated_heading() -> None: | STRING |
| LOW | tests/test_prepare_release.py | 130 | def test_get_release_notes_body_with_plain_heading() -> None: | STRING |
| LOW | tests/test_prepare_release.py | 168 | def test_get_release_notes_body_requires_version_section() -> None: | STRING |
| LOW | tests/test_prepare_release.py | 175 | def test_get_release_notes_body_requires_non_empty_section() -> None: | STRING |
| LOW | tests/test_prepare_release.py | 191 | def test_cli_updates_configured_files(tmp_path: Path) -> None: | STRING |
| LOW | tests/test_prepare_release.py | 227 | def test_cli_accepts_env_vars(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: | STRING |
| LOW | tests/test_prepare_release.py | 247 | def test_cli_prints_current_version(tmp_path: Path) -> None: | STRING |
| LOW | tests/test_prepare_release.py | 265 | def test_cli_prints_release_notes(tmp_path: Path) -> None: | STRING |
| LOW | tests/test_type_conversion.py | 96 | def test_list_parameters_convert_to_lists(type_annotation): | CODE |
| LOW | tests/test_type_conversion.py | 122 | def test_tuple_parameter_elements_are_converted_recursively(type_annotation): | CODE |
| LOW | tests/test_type_conversion.py | 129 | def tuple_recursive_conversion(container: type_annotation): | CODE |
| LOW | tests/test_type_conversion.py | 165 | def test_custom_parse_value_error(): | CODE |
| LOW | tests/test_type_conversion.py | 203 | def test_int_range_open_bound_clamp(): | CODE |
| 196 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | docs/tutorial/first-steps.md | 116 | <font color="#A5A5A1">╭─ Arguments ─────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 119 | <font color="#A5A5A1">╰─────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 120 | <font color="#A5A5A1">╭─ Options ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 123 | <font color="#A5A5A1">╰─────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 132 | <font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 134 | <font color="#F92672">╰───────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 240 | <font color="#A5A5A1">╭─ Arguments ─────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 243 | <font color="#A5A5A1">╰─────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 244 | <font color="#A5A5A1">╭─ Options ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 248 | <font color="#A5A5A1">╰─────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 300 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 302 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 303 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 308 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 374 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 376 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 377 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 382 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM | docs/tutorial/first-steps.md | 27 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────╮</font> | CODE |
| MEDIUM | docs/tutorial/first-steps.md | 30 | <font color="#A5A5A1">╰───────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM | docs/tutorial/first-steps.md | 75 | <font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font> | CODE |
| MEDIUM | docs/tutorial/first-steps.md | 77 | <font color="#F92672">╰───────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 28 | <font color="#F92672">╭──────────────── </font><font color="#F92672"><b>Traceback (most recent call last)</b></font><fon | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 38 | <font color="#F92672">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 89 | <font color="#F92672">╭──────────────── </font><font color="#F92672"><b>Traceback (most recent call last)</b></font><fon | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 102 | <font color="#F92672">│</font> <font color="#F4BF75">╰────────────────╯</font> | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 103 | <font color="#F92672">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 126 | <font color="#F92672">╭──────────────── </font><font color="#F92672"><b>Traceback (most recent call last)</b></font><fon | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 135 | <font color="#F92672">│</font> <font color="#F4BF75">╭─────────────────────────── locals ────────────────────────────╮</ | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 150 | <font color="#F92672">│</font> <font color="#F4BF75">╰───────────────────────────────────────────────────────────────╯</ | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 188 | <font color="#F92672">│</font> <font color="#F4BF75">╰────────────────╯</font> | CODE |
| MEDIUM | docs/tutorial/exceptions.md | 189 | <font color="#F92672">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM | docs/tutorial/progressbar.md | 36 | Processing... <font color="#F92672">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸</font><font color="#3A3A3A">━━━━━━━━━━</font> <font c | CODE |
| MEDIUM⚡ | docs/tutorial/options/help.md | 75 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/options/help.md | 77 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/options/help.md | 78 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/options/help.md | 81 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/options/help.md | 82 | <font color="#A5A5A1">╭─ Customization and Utils ─────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/options/help.md | 87 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 146 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 153 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 154 | <font color="#A5A5A1">╭─ Commands ────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 157 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 175 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 177 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 178 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 180 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 246 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 249 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 250 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 252 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 268 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 271 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 272 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 276 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 305 | <font color="#F4BF75">───────────────────────────────────────────────────────────────────</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 308 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 311 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 312 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 314 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | typer/_completion_shared.py | 188 | except UnicodeDecodeError: # pragma: no cover | CODE |
| HIGH | typer/main.py | 1264 | except AttributeError: | CODE |
| HIGH | typer/main.py | 1275 | except AttributeError: | CODE |
| HIGH | typer/testing.py | 251 | except Exception: # pragma: no cover | CODE |
| HIGH | typer/testing.py | 261 | except Exception: # pragma: no cover | CODE |
| HIGH | typer/_click/_winconsole.py | 212 | except Exception: # pragma: no cover | CODE |
| HIGH | typer/_click/utils.py | 54 | except Exception: # pragma: no cover | CODE |
| HIGH | typer/_click/_compat.py | 68 | except Exception: # pragma: no cover | CODE |
| HIGH | typer/_click/_compat.py | 502 | except Exception: # pragma: no cover | CODE |
| HIGH | typer/_click/_compat.py | 547 | except Exception: # pragma: no cover | CODE |
| HIGH | typer/_click/_compat.py | 128 | except Exception: | CODE |
| HIGH | typer/_click/_termui_impl.py | 511 | except termios.error: # pragma: no cover | CODE |
| HIGH | tests/test_callback_warning.py | 24 | except SystemExit: | CODE |
| HIGH | tests/test_callback_warning.py | 43 | except SystemExit: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/params.py | 8 | CODE | |
| LOW | typer/_typing.py | 8 | CODE | |
| LOW | typer/_typing.py | 8 | CODE | |
| LOW | typer/models.py | 20 | CODE | |
| LOW | typer/models.py | 20 | CODE | |
| LOW | typer/models.py | 21 | CODE | |
| LOW | typer/__init__.py | 5 | CODE | |
| LOW | typer/__init__.py | 7 | CODE | |
| LOW | typer/__init__.py | 8 | CODE | |
| LOW | typer/__init__.py | 9 | CODE | |
| LOW | typer/__init__.py | 10 | CODE | |
| LOW | typer/__init__.py | 11 | CODE | |
| LOW | typer/__init__.py | 12 | CODE | |
| LOW | typer/__init__.py | 13 | CODE | |
| LOW | typer/__init__.py | 14 | CODE | |
| LOW | typer/__init__.py | 15 | CODE | |
| LOW | typer/__init__.py | 16 | CODE | |
| LOW | typer/__init__.py | 17 | CODE | |
| LOW | typer/__init__.py | 18 | CODE | |
| LOW | typer/__init__.py | 19 | CODE | |
| LOW | typer/__init__.py | 20 | CODE | |
| LOW | typer/__init__.py | 21 | CODE | |
| LOW | typer/__init__.py | 22 | CODE | |
| LOW | typer/__init__.py | 23 | CODE | |
| LOW | typer/__init__.py | 24 | CODE | |
| LOW | typer/__init__.py | 25 | CODE | |
| LOW | typer/__init__.py | 26 | CODE | |
| LOW | typer/__init__.py | 27 | CODE | |
| LOW | typer/__init__.py | 28 | CODE | |
| LOW | typer/__init__.py | 29 | CODE | |
| LOW | typer/__init__.py | 30 | CODE | |
| LOW | typer/__init__.py | 31 | CODE | |
| LOW | typer/__init__.py | 32 | CODE | |
| LOW | typer/__init__.py | 33 | CODE | |
| LOW | typer/testing.py | 17 | CODE | |
| LOW | typer/_click/_winconsole.py | 79 | CODE | |
| LOW | typer/_click/_winconsole.py | 81 | CODE | |
| LOW | typer/_click/globals.py | 5 | CODE | |
| LOW | typer/_click/__init__.py | 5 | CODE | |
| LOW | typer/_click/__init__.py | 6 | CODE | |
| LOW | typer/_click/__init__.py | 7 | CODE | |
| LOW | typer/_click/__init__.py | 8 | CODE | |
| LOW | typer/_click/__init__.py | 9 | CODE | |
| LOW | typer/_click/__init__.py | 10 | CODE | |
| LOW | typer/_click/__init__.py | 11 | CODE | |
| LOW | typer/_click/types.py | 24 | CODE | |
| LOW | typer/_click/types.py | 24 | CODE | |
| LOW | typer/_click/parser.py | 37 | CODE | |
| LOW | typer/_click/parser.py | 38 | CODE | |
| LOW | typer/_click/parser.py | 40 | CODE | |
| LOW | typer/_click/exceptions.py | 10 | CODE | |
| LOW | tests/test_future_annotations.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | typer/.agents/skills/typer/SKILL.md | 0 | [bold green]create[/bold green] a new [italic]shiny[/italic] user. :sparkles: this requires a [underline]username[/under | STRING |
| HIGH | docs_src/commands/help/tutorial004_an_py310.py | 0 | [bold green]create[/bold green] a new [italic]shiny[/italic] user. :sparkles: this requires a [underline]username[/under | STRING |
| HIGH | docs_src/commands/help/tutorial004_py310.py | 0 | [bold green]create[/bold green] a new [italic]shiny[/italic] user. :sparkles: this requires a [underline]username[/under | STRING |
| HIGH | docs_src/options/help/tutorial002_an_py310.py | 0 | say hi to 'name', optionally with a --lastname. if --formal is used, say hi very formally. | STRING |
| HIGH | docs_src/options/help/tutorial001_py310.py | 0 | say hi to 'name', optionally with a --lastname. if --formal is used, say hi very formally. | STRING |
| HIGH | docs_src/options/help/tutorial001_an_py310.py | 0 | say hi to 'name', optionally with a --lastname. if --formal is used, say hi very formally. | STRING |
| HIGH | docs_src/options/help/tutorial002_py310.py | 0 | say hi to 'name', optionally with a --lastname. if --formal is used, say hi very formally. | STRING |
| HIGH | docs_src/first_steps/tutorial006_py310.py | 0 | say hi to 'name', optionally with a --lastname. if --formal is used, say hi very formally. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/params.py | 17 | CODE | |
| LOW | typer/params.py | 82 | CODE | |
| LOW | typer/params.py | 145 | CODE | |
| LOW | typer/params.py | 1007 | CODE | |
| LOW | typer/params.py | 1063 | CODE | |
| LOW | typer/params.py | 1117 | CODE | |
| LOW | typer/models.py | 201 | CODE | |
| LOW | typer/models.py | 236 | CODE | |
| LOW | typer/models.py | 281 | CODE | |
| LOW | typer/models.py | 389 | CODE | |
| LOW | typer/models.py | 517 | CODE | |
| LOW | typer/models.py | 654 | CODE | |
| LOW | typer/core.py | 248 | CODE | |
| LOW | typer/core.py | 440 | CODE | |
| LOW | typer/core.py | 904 | CODE | |
| LOW | typer/core.py | 997 | CODE | |
| LOW | typer/main.py | 135 | CODE | |
| LOW | typer/main.py | 549 | CODE | |
| LOW | typer/main.py | 753 | CODE | |
| LOW | typer/main.py | 915 | CODE | |
| LOW | typer/_click/core.py | 133 | CODE | |
| LOW | typer/_click/core.py | 514 | CODE | |
| LOW | typer/_click/core.py | 814 | CODE | |
| LOW | typer/_click/termui.py | 75 | CODE | |
| LOW | typer/_click/termui.py | 198 | CODE | |
| LOW | typer/_click/termui.py | 218 | CODE | |
| LOW | typer/_click/termui.py | 238 | CODE | |
| LOW | typer/_click/termui.py | 313 | CODE | |
| LOW | typer/_click/_termui_impl.py | 37 | CODE | |
| LOW | tests/test_rich_utils.py | 243 | CODE | |
| LOW | tests/test_core.py | 386 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/core.py | 85 | CODE | |
| LOW | typer/core.py | 158 | CODE | |
| LOW | typer/core.py | 861 | CODE | |
| LOW | typer/core.py | 547 | CODE | |
| LOW | typer/core.py | 1171 | CODE | |
| LOW | typer/rich_utils.py | 355 | CODE | |
| LOW | typer/_completion_shared.py | 204 | CODE | |
| LOW | typer/cli.py | 140 | CODE | |
| LOW | typer/cli.py | 186 | CODE | |
| LOW | typer/utils.py | 107 | CODE | |
| LOW | typer/main.py | 1530 | CODE | |
| LOW | typer/main.py | 1632 | CODE | |
| LOW | typer/main.py | 1849 | CODE | |
| LOW | typer/testing.py | 159 | CODE | |
| LOW | typer/_click/types.py | 622 | CODE | |
| LOW | typer/_click/types.py | 147 | CODE | |
| LOW | typer/_click/parser.py | 46 | CODE | |
| LOW | typer/_click/parser.py | 153 | CODE | |
| LOW | typer/_click/parser.py | 304 | CODE | |
| LOW | typer/_click/termui.py | 75 | CODE | |
| LOW | typer/_click/termui.py | 152 | CODE | |
| LOW | typer/_click/utils.py | 199 | CODE | |
| LOW | typer/_click/shell_completion.py | 229 | CODE | |
| LOW | typer/_click/_termui_impl.py | 345 | CODE | |
| LOW | tests/test_rich_utils.py | 181 | CODE | |
| LOW | scripts/docs.py | 124 | CODE | |
| LOW | scripts/docs.py | 251 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/main.py | 1138 | except Exception as e: | CODE |
| LOW | typer/testing.py | 251 | except Exception: # pragma: no cover | CODE |
| LOW | typer/testing.py | 261 | except Exception: # pragma: no cover | CODE |
| LOW | typer/testing.py | 320 | except Exception as e: | CODE |
| LOW | typer/_click/_winconsole.py | 212 | except Exception: # pragma: no cover | CODE |
| LOW | typer/_click/core.py | 1071 | except Exception: | CODE |
| LOW | typer/_click/utils.py | 54 | except Exception: # pragma: no cover | CODE |
| LOW | typer/_click/_compat.py | 68 | except Exception: # pragma: no cover | CODE |
| LOW⚡ | typer/_click/_compat.py | 115 | except Exception: # pragma: no cover | CODE |
| LOW⚡ | typer/_click/_compat.py | 124 | except Exception: # pragma: no cover | CODE |
| LOW⚡ | typer/_click/_compat.py | 128 | except Exception: | CODE |
| LOW | typer/_click/_compat.py | 478 | except Exception: # pragma: no cover | CODE |
| LOW | typer/_click/_compat.py | 502 | except Exception: # pragma: no cover | CODE |
| LOW | typer/_click/_compat.py | 525 | except Exception: # pragma: no cover | CODE |
| LOW | typer/_click/_compat.py | 540 | except Exception: # pragma: no cover | CODE |
| LOW | typer/_click/_compat.py | 547 | except Exception: # pragma: no cover | CODE |
| MEDIUM | typer/_click/_compat.py | 65 | def __del__(self) -> None: | CODE |
| LOW | tests/test_param_meta_empty.py | 21 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 172 | # This file is more readable without yield from | COMMENT |
| MEDIUM | typer/completion.py | 63 | # Create a fake command function to extract the completion parameters | COMMENT |
| MEDIUM | typer/main.py | 1182 | # Create a Group | COMMENT |
| MEDIUM | typer/main.py | 1189 | # Create a single Command | COMMENT |
| MEDIUM | typer/_click/_winconsole.py | 1 | # This module is based on the excellent work by Adam Bartoš who | COMMENT |
| MEDIUM | typer/_click/core.py | 953 | # Define the conversion function based on nargs and type. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | typer/_click/_termui_impl.py | 365 | return subprocess.Popen(args, stderr=null).wait() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/models.py | 335 | # Check if user has provided multiple custom parsers | COMMENT |
| LOW | scripts/docs.py | 292 | # Check if the _an counterpart (or non-_an counterpart) is referenced. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/core.py | 641 | # Nothing prevent you to declare an option that is simultaneously: | COMMENT |
| LOW | typer/_click/parser.py | 321 | # [arg0, arg1, ..., arg(i-1), arg(i), arg(i+1), ..., arg(N-1)] | COMMENT |
| LOW | typer/_click/_termui_impl.py | 441 | # | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/_click/core.py | 485 | def set_parameter_source(self, name: str, source: ParameterSource) -> None: | CODE |
| LOW | scripts/docs.py | 227 | def update_docs_includes_py39_to_py310() -> None: | CODE |