Repository Analysis

fastapi/typer

Typer, build great CLIs. Easy to code. Based on Python type hints.

12.7 Low AI signal View on GitHub

Analysis Overview

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).

12.7
Adjusted Score
12.7
Raw Score
100%
Time Factor
2026-07-13
Last Push
19.8K
Stars
Python
Language
52.2K
Lines of Code
752
Files
489
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 9MEDIUM 105LOW 375

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers244 hits · 240 pts
SeverityFileLineSnippetContext
LOWtyper/_types.py99 def get_invalid_choice_message(self, value: Any, ctx: _click.Context | None) -> str:CODE
LOWtyper/completion.py17def get_completion_inspect_parameters() -> tuple[ParamMeta, ParamMeta]:CODE
LOWtyper/completion.py64def _install_completion_placeholder_function(CODE
LOWtyper/completion.py83def _install_completion_no_auto_placeholder_function(CODE
LOWtyper/core.py44def _typer_param_setup_autocompletion_compat(CODE
LOWtyper/core.py133def _extract_default_help_str(CODE
LOWtyper/core.py322 def _extract_default_help_str(CODE
LOWtyper/core.py740 def _extract_default_help_str(CODE
LOWtyper/core.py878def _typer_main_shell_completion(CODE
LOWtyper/rich_utils.py733def escape_before_html_export(input_text: str) -> str:CODE
LOWtyper/utils.py10def _param_type_to_user_string(param_type: type[ParameterInfo]) -> str:CODE
LOWtyper/utils.py94def _split_annotation_from_typer_annotations(CODE
LOWtyper/main.py112def get_install_completion_arguments() -> tuple[_click.Parameter, _click.Parameter]:CODE
LOWtyper/main.py1248def solve_typer_info_defaults(typer_info: TyperInfo) -> TyperInfo:CODE
LOWtyper/main.py1364def get_params_convertors_ctx_param_name_from_function(CODE
LOWtyper/_click/_winconsole.py280def _get_windows_console_stream(CODE
LOWtyper/_click/core.py42def _complete_visible_commands(CODE
LOWtyper/_click/core.py80def iter_params_for_processing(CODE
LOWtyper/_click/core.py364 def _close_with_exception_info(CODE
LOWtyper/_click/parser.py304 def _process_args_for_options(self, state: _ParsingState) -> None:CODE
LOWtyper/_click/_compat.py188def _is_compatible_text_stream(CODE
LOWtyper/_click/_compat.py199def _force_correct_text_stream(CODE
LOWtyper/_click/_compat.py241def _force_correct_text_reader(CODE
LOWtyper/_click/_compat.py255def _force_correct_text_writer(CODE
LOWtyper/_click/_compat.py444def _is_jupyter_kernel_output(stream: IO[Any]) -> bool:CODE
LOWtyper/_click/_compat.py512 def _get_windows_console_stream(CODE
LOWtests/test_termui.py113def test_clirunner_invoke_system_exit_branches(CODE
LOWtests/test_termui.py135def test_termui_impl_windows_raw_terminal():CODE
LOWtests/test_termui.py143def test_termui_impl_windows_getchar(monkeypatch):CODE
LOWtests/test_termui.py176def test_termui_impl_posix_raw_terminal(monkeypatch, use_stdin_tty: bool):CODE
LOWtests/test_termui.py250def test_termui_impl_posix_getchar(monkeypatch):CODE
LOWtests/test_termui.py267def test_termui_impl_posix_getchar_eof(monkeypatch):CODE
LOWtests/test_termui.py357def test_echo_windows_color_none(CODE
LOWtests/test_progress_bar.py115def test_progressbar_tty_show_eta(monkeypatch):CODE
LOWtests/test_progress_bar.py146def test_progressbar_autowidth(monkeypatch):CODE
LOWtests/test_progress_bar.py236def test_progress_bar_time_zero_steps(monkeypatch):CODE
LOWtests/test_progress_bar.py340def test_progress_bar_unknown_length(CODE
LOWtests/test_launch.py44def test_launch_url_no_xdg_open():CODE
LOWtests/test_launch.py55def test_launch_url_linux_xdg_open_does_not_wait_by_default():CODE
LOWtests/test_launch.py72def test_launch_url_linux_xdg_open_waits_when_requested():CODE
LOWtests/test_launch.py122def test_launch_files_windows(monkeypatch):CODE
LOWtests/test_launch.py155def test_open_url_linux_locate(monkeypatch):CODE
LOWtests/test_prepare_release.py39def test_update_version_file_requires_newer_version() -> None:CODE
LOWtests/test_prepare_release.py46def test_update_release_notes() -> None:CODE
LOWtests/test_prepare_release.py87def test_update_release_notes_rejects_existing_version() -> None:STRING
LOWtests/test_prepare_release.py101def test_get_release_notes_body_with_dated_heading() -> None:STRING
LOWtests/test_prepare_release.py130def test_get_release_notes_body_with_plain_heading() -> None:STRING
LOWtests/test_prepare_release.py168def test_get_release_notes_body_requires_version_section() -> None:STRING
LOWtests/test_prepare_release.py175def test_get_release_notes_body_requires_non_empty_section() -> None:STRING
LOWtests/test_prepare_release.py191def test_cli_updates_configured_files(tmp_path: Path) -> None:STRING
LOWtests/test_prepare_release.py227def test_cli_accepts_env_vars(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:STRING
LOWtests/test_prepare_release.py247def test_cli_prints_current_version(tmp_path: Path) -> None:STRING
LOWtests/test_prepare_release.py265def test_cli_prints_release_notes(tmp_path: Path) -> None:STRING
LOWtests/test_type_conversion.py95def test_list_parameters_convert_to_lists(type_annotation):CODE
LOWtests/test_type_conversion.py121def test_tuple_parameter_elements_are_converted_recursively(type_annotation):CODE
LOWtests/test_type_conversion.py128 def tuple_recursive_conversion(container: type_annotation):CODE
LOWtests/test_type_conversion.py164def test_custom_parse_value_error():CODE
LOWtests/test_type_conversion.py202def test_int_range_open_bound_clamp():CODE
LOWtests/test_type_conversion.py219def test_bool_convert_invalid():CODE
LOWtests/test_type_conversion.py242def test_string_param_type_converts_bytes(CODE
184 more matches not shown…
Decorative Section Separators98 hits · 226 pts
SeverityFileLineSnippetContext
MEDIUMdocs/tutorial/first-steps.md116<font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md118<font color="#F92672">╰───────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md124<font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md126<font color="#F92672">╰───────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md135<font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md137<font color="#F92672">╰───────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md243<font color="#A5A5A1">╭─ Arguments ─────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md246<font color="#A5A5A1">╰─────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md247<font color="#A5A5A1">╭─ Options ───────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md251<font color="#A5A5A1">╰─────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md303<font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md305<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md306<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md311<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md377<font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md379<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md380<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md385<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md27<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md30<font color="#A5A5A1">╰───────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/first-steps.md75<font color="#F92672">╭─ Error ───────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/first-steps.md77<font color="#F92672">╰───────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/exceptions.md28<font color="#F92672">╭──────────────── </font><font color="#F92672"><b>Traceback (most recent call last)</b></font><fonCODE
MEDIUMdocs/tutorial/exceptions.md38<font color="#F92672">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/exceptions.md89<font color="#F92672">╭──────────────── </font><font color="#F92672"><b>Traceback (most recent call last)</b></font><fonCODE
MEDIUMdocs/tutorial/exceptions.md102<font color="#F92672">│</font> <font color="#F4BF75">╰────────────────╯</font> CODE
MEDIUMdocs/tutorial/exceptions.md103<font color="#F92672">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/exceptions.md126<font color="#F92672">╭──────────────── </font><font color="#F92672"><b>Traceback (most recent call last)</b></font><fonCODE
MEDIUMdocs/tutorial/exceptions.md135<font color="#F92672">│</font> <font color="#F4BF75">╭─────────────────────────── locals ────────────────────────────╮</CODE
MEDIUMdocs/tutorial/exceptions.md150<font color="#F92672">│</font> <font color="#F4BF75">╰───────────────────────────────────────────────────────────────╯</CODE
MEDIUMdocs/tutorial/exceptions.md188<font color="#F92672">│</font> <font color="#F4BF75">╰────────────────╯</font> CODE
MEDIUMdocs/tutorial/exceptions.md189<font color="#F92672">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/progressbar.md36Processing... <font color="#F92672">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸</font><font color="#3A3A3A">━━━━━━━━━━</font> <font cCODE
MEDIUMdocs/tutorial/options/help.md75<font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/options/help.md77<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/options/help.md78<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/options/help.md81<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/options/help.md82<font color="#A5A5A1">╭─ Customization and Utils ─────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/options/help.md87<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md140<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md147<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md148<font color="#A5A5A1">╭─ Commands ────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md151<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md169<font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md171<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md172<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md174<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md240<font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md244<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md245<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md247<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md263<font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md267<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md268<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md272<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md301 <font color="#F4BF75">───────────────────────────────────────────────────────────────────</font>CODE
MEDIUMdocs/tutorial/commands/help.md304<font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md308<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
MEDIUMdocs/tutorial/commands/help.md309<font color="#A5A5A1">╭─ Options ─────────────────────────────────────────────────────────╮</font>CODE
MEDIUMdocs/tutorial/commands/help.md311<font color="#A5A5A1">╰───────────────────────────────────────────────────────────────────╯</font>CODE
38 more matches not shown…
Unused Imports51 hits · 48 pts
SeverityFileLineSnippetContext
LOWtyper/params.py8CODE
LOWtyper/_typing.py8CODE
LOWtyper/_typing.py8CODE
LOWtyper/models.py20CODE
LOWtyper/models.py20CODE
LOWtyper/models.py21CODE
LOWtyper/__init__.py5CODE
LOWtyper/__init__.py7CODE
LOWtyper/__init__.py8CODE
LOWtyper/__init__.py9CODE
LOWtyper/__init__.py10CODE
LOWtyper/__init__.py11CODE
LOWtyper/__init__.py12CODE
LOWtyper/__init__.py13CODE
LOWtyper/__init__.py14CODE
LOWtyper/__init__.py15CODE
LOWtyper/__init__.py16CODE
LOWtyper/__init__.py17CODE
LOWtyper/__init__.py18CODE
LOWtyper/__init__.py19CODE
LOWtyper/__init__.py20CODE
LOWtyper/__init__.py21CODE
LOWtyper/__init__.py22CODE
LOWtyper/__init__.py23CODE
LOWtyper/__init__.py24CODE
LOWtyper/__init__.py25CODE
LOWtyper/__init__.py26CODE
LOWtyper/__init__.py27CODE
LOWtyper/__init__.py28CODE
LOWtyper/__init__.py29CODE
LOWtyper/__init__.py30CODE
LOWtyper/__init__.py31CODE
LOWtyper/__init__.py32CODE
LOWtyper/testing.py17CODE
LOWtyper/_click/_winconsole.py79CODE
LOWtyper/_click/_winconsole.py81CODE
LOWtyper/_click/globals.py5CODE
LOWtyper/_click/__init__.py5CODE
LOWtyper/_click/__init__.py6CODE
LOWtyper/_click/__init__.py7CODE
LOWtyper/_click/__init__.py8CODE
LOWtyper/_click/__init__.py9CODE
LOWtyper/_click/__init__.py10CODE
LOWtyper/_click/__init__.py11CODE
LOWtyper/_click/types.py24CODE
LOWtyper/_click/types.py24CODE
LOWtyper/_click/parser.py37CODE
LOWtyper/_click/parser.py38CODE
LOWtyper/_click/parser.py40CODE
LOWtyper/_click/exceptions.py9CODE
LOWtests/test_future_annotations.py1CODE
Cross-File Repetition8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHtyper/.agents/skills/typer/SKILL.md0[bold green]create[/bold green] a new [italic]shiny[/italic] user. :sparkles: this requires a [underline]username[/underSTRING
HIGHdocs_src/commands/help/tutorial004_an_py310.py0[bold green]create[/bold green] a new [italic]shiny[/italic] user. :sparkles: this requires a [underline]username[/underSTRING
HIGHdocs_src/commands/help/tutorial004_py310.py0[bold green]create[/bold green] a new [italic]shiny[/italic] user. :sparkles: this requires a [underline]username[/underSTRING
HIGHdocs_src/options/help/tutorial002_an_py310.py0say hi to name, optionally with a --lastname. if --formal is used, say hi very formally.STRING
HIGHdocs_src/options/help/tutorial001_py310.py0say hi to name, optionally with a --lastname. if --formal is used, say hi very formally.STRING
HIGHdocs_src/options/help/tutorial001_an_py310.py0say hi to name, optionally with a --lastname. if --formal is used, say hi very formally.STRING
HIGHdocs_src/options/help/tutorial002_py310.py0say hi to name, optionally with a --lastname. if --formal is used, say hi very formally.STRING
HIGHdocs_src/first_steps/tutorial006_py310.py0say hi to name, optionally with a --lastname. if --formal is used, say hi very formally.STRING
AI Structural Patterns30 hits · 30 pts
SeverityFileLineSnippetContext
LOWtyper/params.py17CODE
LOWtyper/params.py82CODE
LOWtyper/params.py145CODE
LOWtyper/params.py1007CODE
LOWtyper/params.py1063CODE
LOWtyper/params.py1117CODE
LOWtyper/models.py201CODE
LOWtyper/models.py236CODE
LOWtyper/models.py281CODE
LOWtyper/models.py389CODE
LOWtyper/models.py517CODE
LOWtyper/models.py654CODE
LOWtyper/core.py248CODE
LOWtyper/core.py436CODE
LOWtyper/core.py900CODE
LOWtyper/core.py993CODE
LOWtyper/main.py135CODE
LOWtyper/main.py549CODE
LOWtyper/main.py753CODE
LOWtyper/main.py915CODE
LOWtyper/_click/core.py139CODE
LOWtyper/_click/core.py520CODE
LOWtyper/_click/core.py819CODE
LOWtyper/_click/termui.py74CODE
LOWtyper/_click/termui.py197CODE
LOWtyper/_click/termui.py217CODE
LOWtyper/_click/termui.py237CODE
LOWtyper/_click/termui.py312CODE
LOWtyper/_click/_termui_impl.py37CODE
LOWtests/test_rich_utils.py231CODE
Deep Nesting27 hits · 27 pts
SeverityFileLineSnippetContext
LOWtyper/core.py84CODE
LOWtyper/core.py151CODE
LOWtyper/core.py857CODE
LOWtyper/core.py543CODE
LOWtyper/core.py1167CODE
LOWtyper/rich_utils.py351CODE
LOWtyper/_completion_shared.py203CODE
LOWtyper/cli.py140CODE
LOWtyper/cli.py186CODE
LOWtyper/utils.py107CODE
LOWtyper/main.py1521CODE
LOWtyper/main.py1623CODE
LOWtyper/main.py1838CODE
LOWtyper/testing.py159CODE
LOWtyper/_click/types.py621CODE
LOWtyper/_click/types.py147CODE
LOWtyper/_click/parser.py46CODE
LOWtyper/_click/parser.py153CODE
LOWtyper/_click/parser.py304CODE
LOWtyper/_click/termui.py74CODE
LOWtyper/_click/termui.py151CODE
LOWtyper/_click/utils.py192CODE
LOWtyper/_click/shell_completion.py229CODE
LOWtyper/_click/_termui_impl.py345CODE
LOWtests/test_rich_utils.py181CODE
LOWscripts/docs.py124CODE
LOWscripts/docs.py251CODE
Excessive Try-Catch Wrapping18 hits · 20 pts
SeverityFileLineSnippetContext
LOWtyper/main.py1138 except Exception as e:CODE
LOWtyper/testing.py251 except Exception: # pragma: no coverCODE
LOWtyper/testing.py261 except Exception: # pragma: no coverCODE
LOWtyper/testing.py320 except Exception as e:CODE
LOWtyper/_click/_winconsole.py212 except Exception: # pragma: no coverCODE
LOWtyper/_click/core.py1072 except Exception:CODE
LOWtyper/_click/utils.py47 except Exception: # pragma: no coverCODE
LOWtyper/_click/_compat.py68 except Exception: # pragma: no coverCODE
LOWtyper/_click/_compat.py115 except Exception: # pragma: no coverCODE
LOWtyper/_click/_compat.py124 except Exception: # pragma: no coverCODE
LOWtyper/_click/_compat.py128 except Exception:CODE
LOWtyper/_click/_compat.py478 except Exception: # pragma: no coverCODE
LOWtyper/_click/_compat.py502 except Exception: # pragma: no coverCODE
LOWtyper/_click/_compat.py525 except Exception: # pragma: no coverCODE
LOWtyper/_click/_compat.py540 except Exception: # pragma: no coverCODE
LOWtyper/_click/_compat.py547 except Exception: # pragma: no coverCODE
MEDIUMtyper/_click/_compat.py65def __del__(self) -> None:CODE
LOWtests/test_param_meta_empty.py21 except Exception:CODE
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml172# This file is more readable without yield fromCOMMENT
MEDIUMtyper/completion.py63# Create a fake command function to extract the completion parametersCOMMENT
MEDIUMtyper/main.py1182 # Create a GroupCOMMENT
MEDIUMtyper/main.py1189 # Create a single CommandCOMMENT
MEDIUMtyper/_click/_winconsole.py1# This module is based on the excellent work by Adam Bartoš whoCOMMENT
MEDIUMtyper/_click/core.py954 # Define the conversion function based on nargs and type.COMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtyper/_click/_termui_impl.py365 return subprocess.Popen(args, stderr=null).wait()CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtyper/models.py335 # Check if user has provided multiple custom parsersCOMMENT
LOWscripts/docs.py292 # Check if the _an counterpart (or non-_an counterpart) is referenced.COMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtyper/_click/core.py491 def set_parameter_source(self, name: str, source: ParameterSource) -> None:CODE
LOWscripts/docs.py227def update_docs_includes_py39_to_py310() -> None:CODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtyper/_click/parser.py321 # [arg0, arg1, ..., arg(i-1), arg(i), arg(i+1), ..., arg(N-1)]COMMENT
LOWtyper/_click/_termui_impl.py441 #COMMENT