Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: astral-sh/ty
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.0.39
Choose a base ref
...
head repository: astral-sh/ty
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.0.44
Choose a head ref
  • 20 commits
  • 16 files changed
  • 10 contributors

Commits on May 24, 2026

  1. docs: fix broken link and minor wording in suppression.md (#3527)

    ## Summary
    
    - Drop a duplicated verb in the note about enumerating rule names: "we
    strongly recommend **including suppressing** specific rules" → "we
    strongly recommend **including** specific rules".
    - Make the "Multiple suppressions comments" heading match its siblings
    ("ty suppression comments", "Standard suppression comments", "Unused
    suppression comments"): "Multiple suppression**s** comments" → "Multiple
    suppression comments". No other docs link to this anchor, so this rename
    is safe.
    
    
    ---------
    
    Co-authored-by: Micha Reiser <micha@reiser.io>
    jpatel3 and MichaReiser authored May 24, 2026
    Configuration menu
    Copy the full SHA
    4e1b4e7 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2026

  1. docs: add Flycheck note to Emacs editor integration (#3528)

    ## Summary
    
    Adds a short note to the Emacs section of the editor integration docs
    explaining how Flycheck users can route ty's diagnostics through the
    [flycheck-eglot](https://github.com/flycheck/flycheck-eglot) bridge.
    
    The current Eglot snippet (added in #3107) covers the simple case, but
    the original request in #2902 specifically asked about Flycheck-based
    setups. This adds the minimal additional snippet for that path without
    changing the existing recommended setup. Modeled on the multi-subsection
    layout used by Ruff's [Emacs
    docs](https://docs.astral.sh/ruff/editors/setup/#emacs).
    
    Refs #2902.
    
    ## Test Plan
    
    - `mdformat docs/editors.md --check` passes
    - `markdownlint-cli@0.48.0 docs/editors.md` passes
    - Verified `flycheck/flycheck-eglot` is the official upstream package
    
    ---------
    
    Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
    jpatel3 and dhruvmanila authored May 25, 2026
    Configuration menu
    Copy the full SHA
    32b654a View commit details
    Browse the repository at this point in the history

Commits on May 26, 2026

  1. scripts/update_schemastore: add text=True to git revision check_outpu…

    …t calls (#3523)
    
    ## Summary
    
    `main()` in `scripts/update_schemastore.py` calls `check_output` twice
    to read
    git SHAs — once for the expected ruff submodule revision and once for
    the actual
    HEAD of the submodule — but neither call passes `text=True`. Without it,
    `check_output` returns `bytes`, and when those values are interpolated
    into the
    mismatch warning f-string the user sees raw bytes repr in their
    terminal:
    
        The ruff submodule is at b'def456...' but main expects b'abc123...'
    
    instead of the intended:
    
        The ruff submodule is at def456... but main expects abc123...
    
    The same `main()` already uses `text=True` correctly for the
    `current_sha`
    call on line 81. This PR makes the two revision-check calls consistent
    with
    that pattern.
    
    ---------
    
    Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
    Dev-X25874 and dhruvmanila authored May 26, 2026
    Configuration menu
    Copy the full SHA
    8f1cee0 View commit details
    Browse the repository at this point in the history
  2. docs: set Eglot :language-id so ty works with python-base-mode (#…

    …3532)
    
    ## Summary
    
    - Closes #2937.
    - Adds `:language-id "python"` to the Eglot `eglot-server-programs`
    entry in the Emacs editor-integration docs so the recommended snippet
    works out of the box.
    - Eglot derives the LSP `languageId` from the major-mode symbol, so the
    previous `python-base-mode` entry caused Eglot to advertise documents as
    `python-base`. The ty server only accepts the `python` language id
    ([`text_document.rs`](https://github.com/astral-sh/ruff/blob/main/crates/ty_server/src/document/text_document.rs)),
    so users were silently getting no diagnostics.
    - Adds a short prose note explaining the constraint, so readers who copy
    the snippet (or adapt it for a different mode) understand why the entry
    is shaped this way. Fix matches the one suggested upstream in
    [eglot#1580](joaotavora/eglot#1580).
    
    ## Test plan
    
    - [x] Visually proof the rendered Markdown
    - [x] Verified the snippet shape against the eglot discussion accepted
    answer
    
    ---------
    
    Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
    jpatel3 and dhruvmanila authored May 26, 2026
    Configuration menu
    Copy the full SHA
    0d8540a View commit details
    Browse the repository at this point in the history

Commits on May 27, 2026

  1. Configuration menu
    Copy the full SHA
    54c7498 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b95bc2 View commit details
    Browse the repository at this point in the history
  3. minor changelog nits for the latest release (#3560)

    I was already halfway through a review when @charliermarsh merged the
    latest release PR -- too fast for me ⚡️
    AlexWaygood authored May 27, 2026
    Configuration menu
    Copy the full SHA
    aa20b16 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2026

  1. Configuration menu
    Copy the full SHA
    e118dd0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85c5e32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c690a49 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2026

  1. Configuration menu
    Copy the full SHA
    41bb0d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f8cb64 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2026

  1. Release: Force usage of PyPI as the index (#3616)

    ## Summary
    
    Make sure that the lockfile is not corrupted when uv's default config
    points to a company mirror. Tested by running `./scripts/release.sh` in
    an environment where the lockfile was previously corrupted.
    sharkdp authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    c2500cc View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2026

  1. Configuration menu
    Copy the full SHA
    5a3e169 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c37747 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    792fb71 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce89685 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    794322d View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2026

  1. Configuration menu
    Copy the full SHA
    29ce314 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2026

  1. Configuration menu
    Copy the full SHA
    f5523e2 View commit details
    Browse the repository at this point in the history
Loading