Typer, build great CLIs. Easy to code. Based on Python type hints.
This report presents the forensic synthetic code analysis of fastapi/typer, a Python project with 19,750 GitHub stars. SynthScan v2.0 examined 52,236 lines of code across 752 source files, recording 489 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 12.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 489 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/_types.py | 99 | 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 | 44 | def _typer_param_setup_autocompletion_compat( | CODE |
| LOW | typer/core.py | 133 | def _extract_default_help_str( | CODE |
| LOW | typer/core.py | 322 | def _extract_default_help_str( | CODE |
| LOW | typer/core.py | 740 | def _extract_default_help_str( | CODE |
| LOW | typer/core.py | 878 | def _typer_main_shell_completion( | CODE |
| LOW | typer/rich_utils.py | 733 | 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_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 | 42 | def _complete_visible_commands( | CODE |
| LOW | typer/_click/core.py | 80 | def iter_params_for_processing( | CODE |
| LOW | typer/_click/core.py | 364 | 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/_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 | 95 | def test_list_parameters_convert_to_lists(type_annotation): | CODE |
| LOW | tests/test_type_conversion.py | 121 | def test_tuple_parameter_elements_are_converted_recursively(type_annotation): | CODE |
| LOW | tests/test_type_conversion.py | 128 | def tuple_recursive_conversion(container: type_annotation): | CODE |
| LOW | tests/test_type_conversion.py | 164 | def test_custom_parse_value_error(): | CODE |
| LOW | tests/test_type_conversion.py | 202 | def test_int_range_open_bound_clamp(): | CODE |
| LOW | tests/test_type_conversion.py | 219 | def test_bool_convert_invalid(): | CODE |
| LOW | tests/test_type_conversion.py | 242 | def test_string_param_type_converts_bytes( | CODE |
| 184 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | docs/tutorial/first-steps.md | 116 | <font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 118 | <font color="#F92672">╰───────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 124 | <font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 126 | <font color="#F92672">╰───────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 135 | <font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 137 | <font color="#F92672">╰───────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 243 | <font color="#A5A5A1">╭─ Arguments ─────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 246 | <font color="#A5A5A1">╰─────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 247 | <font color="#A5A5A1">╭─ Options ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 251 | <font color="#A5A5A1">╰─────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 303 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 305 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 306 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 311 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 377 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 379 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 380 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/first-steps.md | 385 | <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 | 140 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 147 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 148 | <font color="#A5A5A1">╭─ Commands ────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 151 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 169 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 171 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 172 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 174 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 240 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 244 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 245 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 247 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 263 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 267 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 268 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 272 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 301 | <font color="#F4BF75">───────────────────────────────────────────────────────────────────</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 304 | <font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 308 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 309 | <font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font> | CODE |
| MEDIUM⚡ | docs/tutorial/commands/help.md | 311 | <font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font> | CODE |
| 38 more matches not shown… | ||||
| 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/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 | 9 | 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 | 436 | CODE | |
| LOW | typer/core.py | 900 | CODE | |
| LOW | typer/core.py | 993 | 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 | 139 | CODE | |
| LOW | typer/_click/core.py | 520 | CODE | |
| LOW | typer/_click/core.py | 819 | CODE | |
| LOW | typer/_click/termui.py | 74 | CODE | |
| LOW | typer/_click/termui.py | 197 | CODE | |
| LOW | typer/_click/termui.py | 217 | CODE | |
| LOW | typer/_click/termui.py | 237 | CODE | |
| LOW | typer/_click/termui.py | 312 | CODE | |
| LOW | typer/_click/_termui_impl.py | 37 | CODE | |
| LOW | tests/test_rich_utils.py | 231 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typer/core.py | 84 | CODE | |
| LOW | typer/core.py | 151 | CODE | |
| LOW | typer/core.py | 857 | CODE | |
| LOW | typer/core.py | 543 | CODE | |
| LOW | typer/core.py | 1167 | CODE | |
| LOW | typer/rich_utils.py | 351 | CODE | |
| LOW | typer/_completion_shared.py | 203 | CODE | |
| LOW | typer/cli.py | 140 | CODE | |
| LOW | typer/cli.py | 186 | CODE | |
| LOW | typer/utils.py | 107 | CODE | |
| LOW | typer/main.py | 1521 | CODE | |
| LOW | typer/main.py | 1623 | CODE | |
| LOW | typer/main.py | 1838 | CODE | |
| LOW | typer/testing.py | 159 | CODE | |
| LOW | typer/_click/types.py | 621 | 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 | 74 | CODE | |
| LOW | typer/_click/termui.py | 151 | CODE | |
| LOW | typer/_click/utils.py | 192 | 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 | 1072 | except Exception: | CODE |
| LOW | typer/_click/utils.py | 47 | 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 | 954 | # 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/_click/core.py | 491 | 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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |