-
Notifications
You must be signed in to change notification settings - Fork 302
Comparing changes
Open a pull request
base repository: astral-sh/ty
base: 0.0.39
head repository: astral-sh/ty
compare: 0.0.44
- 20 commits
- 16 files changed
- 10 contributors
Commits on May 24, 2026
-
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>Configuration menu - View commit details
-
Copy full SHA for 4e1b4e7 - Browse repository at this point
Copy the full SHA 4e1b4e7View commit details
Commits on May 25, 2026
-
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>
Configuration menu - View commit details
-
Copy full SHA for 32b654a - Browse repository at this point
Copy the full SHA 32b654aView commit details
Commits on May 26, 2026
-
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>
Configuration menu - View commit details
-
Copy full SHA for 8f1cee0 - Browse repository at this point
Copy the full SHA 8f1cee0View commit details -
docs: set Eglot
:language-idso ty works withpython-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>
Configuration menu - View commit details
-
Copy full SHA for 0d8540a - Browse repository at this point
Copy the full SHA 0d8540aView commit details
Commits on May 27, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 54c7498 - Browse repository at this point
Copy the full SHA 54c7498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b95bc2 - Browse repository at this point
Copy the full SHA 7b95bc2View commit details -
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 ⚡️
Configuration menu - View commit details
-
Copy full SHA for aa20b16 - Browse repository at this point
Copy the full SHA aa20b16View commit details
Commits on May 29, 2026
-
Configuration menu - View commit details
-
Copy full SHA for e118dd0 - Browse repository at this point
Copy the full SHA e118dd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85c5e32 - Browse repository at this point
Copy the full SHA 85c5e32View commit details -
Configuration menu - View commit details
-
Copy full SHA for c690a49 - Browse repository at this point
Copy the full SHA c690a49View commit details
Commits on Jun 1, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 41bb0d2 - Browse repository at this point
Copy the full SHA 41bb0d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f8cb64 - Browse repository at this point
Copy the full SHA 7f8cb64View commit details
Commits on Jun 2, 2026
-
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.
Configuration menu - View commit details
-
Copy full SHA for c2500cc - Browse repository at this point
Copy the full SHA c2500ccView commit details
Commits on Jun 3, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 5a3e169 - Browse repository at this point
Copy the full SHA 5a3e169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c37747 - Browse repository at this point
Copy the full SHA 5c37747View commit details -
Configuration menu - View commit details
-
Copy full SHA for 792fb71 - Browse repository at this point
Copy the full SHA 792fb71View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce89685 - Browse repository at this point
Copy the full SHA ce89685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 794322d - Browse repository at this point
Copy the full SHA 794322dView commit details
Commits on Jun 4, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 29ce314 - Browse repository at this point
Copy the full SHA 29ce314View commit details
Commits on Jun 5, 2026
-
Configuration menu - View commit details
-
Copy full SHA for f5523e2 - Browse repository at this point
Copy the full SHA f5523e2View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.0.39...0.0.44