Repository Analysis

astral-sh/ty

An extremely fast Python type checker and language server, written in Rust.

2.4 Likely human-written View on GitHub
2.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-05-29
Last Push
18,786
Stars
Python
Language
16,051
Lines of Code
59
Files
24
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 4LOW 19

Pattern Findings

24 matches across 6 categories. Click a row to expand file-level details.

Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMscripts/update_schemastore.py77 # Create a new branch tagged with the current ty commit up to date with the latest
MEDIUM.github/workflows/release.yml251 # Create a GitHub Release while uploading all files to it
MEDIUM.github/workflows/release.yml276 # Create a GitHub Release while uploading all files to it
MEDIUM.github/workflows/build-docker.yml231 # Initialize a variable to store all tag docker metadata patterns
Over-Commented Block11 hits · 11 pts
SeverityFileLineSnippet
LOW.markdownlint.yaml21MD024:
LOWdocs/requirements.txt1# This file was autogenerated by uv via the following command:
LOWdocs/requirements.txt21 # black
LOWdocs/requirements.txt41 # via markdown-it-py
LOWdocs/requirements.txt61 # mdformat-admon
LOWdocs/requirements.txt81mdurl==0.1.2
LOWdocs/requirements.txt101mkdocs-material-extensions==1.3.1
LOWdocs/requirements.txt121 # black
LOWdocs/requirements.txt141six==1.16.0
LOW.github/workflows/release.yml1# This file was autogenerated by dist: https://axodotdev.github.io/cargo-dist
LOW.github/workflows/release.yml21# like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc.
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHdist-workspace.toml60# Whether CI should include auto-generated code to build local artifacts
Unused Imports6 hits · 6 pts
SeverityFileLineSnippet
LOWpython/ty/_find_ty.py1
LOWpython/ty/__init__.py1
LOWpython/ty/__init__.py3
LOWpython/ty/__main__.py1
LOWscripts/update_schemastore.py12
LOWscripts/transform_readme.py7
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWscripts/update_schemastore.py114 # Check if the schema has changed
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippet
LOWdocs/reference/typing-faq.md84 def only_actual_floats_allowed(f: JustFloat) -> None: ...