Commit graph

97 commits

Author SHA1 Message Date
Carl Meyer
3b726d87a2
Bump version to 0.0.1a5 (#434) 2025-05-17 08:57:49 -04:00
Zanie Blue
cf971274f6
Bump version to 0.0.1a4 (#426)
Some checks are pending
CI / Check generated files unedited (push) Waiting to run
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
2025-05-16 12:19:54 -05:00
Max Mynter
b6767534cf
[CI] Add check for changes in autogenerated files (#415)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / Check generated files unedited (push) Waiting to run
2025-05-16 08:05:04 +02:00
Matthew Mckee
44f26717cf
Add daily property tests (#413)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
2025-05-16 00:56:31 +00:00
Zanie Blue
144a26d448
Bump version to 0.0.1a3 (#407)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
2025-05-15 07:37:23 -05:00
Zanie Blue
516aa69688
Use Cargo-style versions in the changelog (#397)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
Uses https://github.com/zanieb/rooster/pull/70, which should fix dist's
changelog -> GitHub Release propagation.
2025-05-14 19:36:44 -05:00
David Peter
59c45cc60c
Bump version to 0.0.1a2 (#395) 2025-05-14 22:17:55 +02:00
Erudit Morina
4619c4a93d
minor: fix link to rules docs (#378)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
2025-05-14 17:41:55 +02:00
F-G Fernandez
2effdb8ebd
Fix href to rules md file in the configuration description (#381)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
2025-05-14 11:10:21 +00:00
Micha Reiser
f0c00ca3ad
Fix repository in README transform script (#361)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
2025-05-13 19:41:04 +02:00
Dhruv Manilawala
7bc7b59a3b
Use ty server instead of ty lsp (#360) 2025-05-13 22:05:54 +05:30
Micha Reiser
12f466e461
Bump version to 0.0.1a1 (#356)
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Co-authored-by: David Peter <mail@david-peter.de>
2025-05-13 21:10:00 +05:30
Micha Reiser
fa321ae83a
Bump rooster (#357) 2025-05-13 16:06:47 +02:00
Zanie Blue
615f189baf
Add more content to the release docs (#355)
Small follow-up to #349
2025-05-13 07:45:20 -05:00
Micha Reiser
909783bb47
Setup basic grouping for changelog (#353)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
2025-05-13 10:20:59 +00:00
Micha Reiser
ac13626caa
Update rooster (#352) 2025-05-13 12:19:35 +02:00
Micha Reiser
3058938b8d
Correctly indent the list in the "Relasing ty" section (#349) 2025-05-13 09:40:08 +00:00
David Peter
01b575c960
Contributing guide: clarifications and link (#348)
## Summary

Some minor rewording and a link to the ty's main
[CONTRIBUTING.md](https://github.com/astral-sh/ruff/blob/main/crates/ty/CONTRIBUTING.md)
guide.
2025-05-13 11:36:36 +02:00
Dhruv Manilawala
6303305e17
Add reference for editor settings (#343)
Co-authored-by: Micha Reiser <micha@reiser.io>
2025-05-13 11:19:13 +02:00
David Peter
a188aeb7b5
Minor clarifications in Python version docs (#344)
## Summary

This is unfortunately longer than what we had, but I thought that this
section could use some clarification. In particular, newer syntactic
features can not appear in `sys.version_info` branches, they will always
lead to errors.
2025-05-13 09:33:35 +02:00
David Peter
8c5053f51e
Rule levels: minor wording suggestion (#345)
## Summary

"Enable `unused-ignore-comment` at warn" sounded strange to me, so I'm
suggesting a minor rewording.
2025-05-13 09:33:26 +02:00
Dhruv Manilawala
0c3a81dd56
Fix link to configuration reference page (#342) 2025-05-13 08:37:26 +05:30
Carl Meyer
48201113d2
fix link to CLI docs (#341)
## Summary

The file is `cli.md`, not `commands.md`.

Not sure if there was an incomplete intention to rename the file here,
but for the moment I'm just fixing the link; renaming the file will
require adjusting at least the release script and possibly changing it
in the ruff repo as well.

## Test Plan

On this branch, the link works.
2025-05-12 20:01:09 -07:00
Zanie Blue
6fe5309889
Fix typo (#340)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
2025-05-13 00:21:29 +00:00
Zanie Blue
5ee27474dc
Edit the rule level and suppression comment sections (#337) 2025-05-12 23:47:31 +00:00
Zanie Blue
73631eebb4
Edit the module and editor sections of the docs (#335)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-05-12 17:38:14 -05:00
Zanie Blue
994caa6fcc
Rewrite the getting started documentation (#329)
[Rendered](https://github.com/astral-sh/ty/tree/zb/getting-started?tab=readme-ov-file#getting-started)
2025-05-12 14:59:43 -05:00
Zanie Blue
282c80c6df
Include admonitions in the README transform (#333)
These currently render weirdly: https://pypi.org/project/ty/
2025-05-12 14:27:54 -05:00
Zanie Blue
86cd1f1229
Update top-level warning (#334) 2025-05-12 14:27:48 -05:00
Zanie Blue
5f9803b4fa
Split the documentation out of the top-level README (#331)
Moves most of the documentation into a dedicated `docs/README` to make
it easier to reach important content in the top-level readme like
"getting involved".

There are some minor changes to the heading levels here and link
changes, but otherwise the content is the same. Don't go deep on the
getting started section, that's changing in #329
2025-05-12 13:45:02 -05:00
Zanie Blue
ab530d992d
Restore readme transformation script (#330) 2025-05-12 13:40:00 -05:00
Micha Reiser
43694cc492
Add "rules" and "checking a project" sections (#327)
Some checks are pending
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
## Summary

Add documentation about what rules are and how to type check a project
2025-05-12 11:52:23 -05:00
Soof Golan
1c2fd2f114
Ensure ty runs at latest version (#316) 2025-05-12 08:40:49 +02:00
Micha Reiser
45a21f5566
Document suppressions and exit codes (#295)
Co-authored-by: Carl Meyer <carl@oddbird.net>
2025-05-10 10:40:38 +00:00
Micha Reiser
cf5f8af599
docs: Document configuration file discovery (#294) 2025-05-10 10:35:26 +00:00
Micha Reiser
8aead5ed83
Basic README sections (#293) 2025-05-10 11:32:49 +01:00
Micha Reiser
b3073684d0
Reference documentation (#292) 2025-05-10 10:26:31 +00:00
Carl Meyer
0474b40e10
Bump version to 0.0.0a8 (#298)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-05-09 11:17:13 -07:00
Nameless
840f0752a3
Add CLI documentation and update README (#284)
Co-authored-by: Micha Reiser <micha@reiser.io>
2025-05-09 12:24:18 +00:00
Nameless
c7446106c1
Add uv lock --check to pre-commit (#263)
Co-authored-by: Micha Reiser <micha@reiser.io>
2025-05-09 07:28:27 +00:00
Zanie Blue
f9c4c89993
Update the uv.lock on release (#277) 2025-05-08 11:02:16 -05:00
Joren Hammudoglu
eb8f29287c
add py.typed (#276)
Because the `-> str` in `__main__.find_ty_bin` also deserves to be
recognized :)

More info:

-
https://typing.python.org/en/latest/spec/distributing.html#packaging-typed-libraries
- https://peps.python.org/pep-0561/
2025-05-08 09:00:10 -07:00
Zanie Blue
d50d72c144
Clean up some path handling in the schemastore script (#273)
Mostly making sure that the script is robust to alternative working
directories, and some stylistic nits.

Following up on
https://github.com/astral-sh/ty/pull/65#discussion_r2077839514 — not to
be annoying, but using `git` to find the root _can_ be wrong here


```
❯ cd ruff
❯ uv run --only-dev ../scripts/update_schemastore.py
> /Users/zb/workspace/ty/scripts/update_schemastore.py(146)main()
-> breakpoint()
(Pdb) print(root)
/Users/zb/workspace/ty/ruff
```
2025-05-08 09:32:18 -05:00
Micha Reiser
9efd86025d
Add script to update ty.json in schemastore (#65) 2025-05-08 11:30:05 +00:00
Charlie Marsh
905a3e1e50
Bump version to 0.0.0a7 (#255) 2025-05-07 16:02:07 -04:00
Carl Meyer
74e72ed91a
add stronger disclaimer to README (#254)
More README updates will be coming, just want to get this in there ASAP
since we're on the front page of HN now.

---------

Co-authored-by: Charlie Marsh <crmarsh416@gmail.com>
2025-05-07 12:43:51 -07:00
Zanie Blue
1a9a2577c8
Bump rooster (#252)
Adds `ignore-labels`
2025-05-07 13:44:42 -05:00
Emil Sadek
6edfca161b
Move TOML indent size config (#251) 2025-05-07 18:13:32 +00:00
Zanie Blue
8ddfe108f4
Add write permissions to docker publish workflow (#250)
Required to fix 1488870781

Conditional permissions based on whether it's a dry-run or not look
infeasible, or would require duplication of the job.
2025-05-07 12:49:15 -05:00
Micha Reiser
595b320e21
Exclude rust-toolchain.toml (#249)
## Summary
The `rust-toolchain.toml` specifies the rust toolchain version that we
use for development.
Consumers of the `ty` package can use any Rust versiono (that meets our
MSRV) to build ty from an sdist.

## Test Plan

Ran `uv build` and verified that the `rust-toolchain.toml` is no longer
present in the `sdist` folder.

I uninstalled all Rust toolchains and verified that `cargo build`
re-installs the latest stable version.

I verified that `cargo build` automatically installs the latest stable
if the default Rust toolchain doesn't meet the MSRV.
2025-05-07 12:49:04 -05:00