ty 0.0.0a8__py3-none-win32.whl → 0.0.1a2__py3-none-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ty-0.0.0a8.data → ty-0.0.1a2.data}/scripts/ty.exe +0 -0
- {ty-0.0.0a8.dist-info → ty-0.0.1a2.dist-info}/METADATA +77 -63
- ty-0.0.1a2.dist-info/RECORD +8 -0
- {ty-0.0.0a8.dist-info → ty-0.0.1a2.dist-info}/WHEEL +1 -1
- ty-0.0.0a8.dist-info/RECORD +0 -8
- {ty-0.0.0a8.dist-info → ty-0.0.1a2.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ty
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.1a2
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Environment :: Console
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -33,66 +33,80 @@ Project-URL: Changelog, https://github.com/astral-sh/ty/blob/main/CHANGELOG.md
|
|
|
33
33
|
Project-URL: Releases, https://github.com/astral-sh/ty/releases
|
|
34
34
|
Project-URL: Discord, https://discord.gg/astral-sh
|
|
35
35
|
|
|
36
|
-
# ty
|
|
37
|
-
|
|
38
|
-
An extremely fast Python type checker and language server, written in Rust.
|
|
39
|
-
|
|
40
|
-
>
|
|
41
|
-
>
|
|
42
|
-
>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
and
|
|
46
|
-
|
|
47
|
-
## Getting started
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
```shell
|
|
52
|
-
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
ty
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
36
|
+
# ty
|
|
37
|
+
|
|
38
|
+
An extremely fast Python type checker and language server, written in Rust.
|
|
39
|
+
|
|
40
|
+
> WARNING:
|
|
41
|
+
>
|
|
42
|
+
> ty is in preview and is not ready for production use.
|
|
43
|
+
>
|
|
44
|
+
> We're working hard to make ty stable and feature-complete, but until then, expect to encounter bugs,
|
|
45
|
+
> missing features, and fatal errors.
|
|
46
|
+
|
|
47
|
+
## Getting started
|
|
48
|
+
|
|
49
|
+
Run ty with [uvx](https://docs.astral.sh/uv/guides/tools/#running-tools) to get started quickly:
|
|
50
|
+
|
|
51
|
+
```shell
|
|
52
|
+
uvx ty
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
For other ways to install ty, see the [installation](https://github.com/astral-sh/ty/blob/0.0.1-alpha.2/docs/README.md#installation) documentation.
|
|
56
|
+
|
|
57
|
+
If you do not provide a subcommand, ty will list available commands — for detailed information about
|
|
58
|
+
command-line options, see the [CLI reference](https://github.com/astral-sh/ty/blob/0.0.1-alpha.2/docs/reference/cli.md).
|
|
59
|
+
|
|
60
|
+
Use the `check` command to run the type checker:
|
|
61
|
+
|
|
62
|
+
```shell
|
|
63
|
+
uvx ty check
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
ty will run on all Python files in the working directory and or subdirectories. If used from a
|
|
67
|
+
project, ty will run on all Python files in the project (starting in the directory with the
|
|
68
|
+
`pyproject.toml`)
|
|
69
|
+
|
|
70
|
+
You can also provide specific paths to check:
|
|
71
|
+
|
|
72
|
+
```shell
|
|
73
|
+
uvx ty check example.py
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
When type checking, ty will find installed packages in the active virtual environment (via
|
|
77
|
+
`VIRTUAL_ENV`) or discover a virtual environment named `.venv` in the project root or working
|
|
78
|
+
directory. It will not find packages in non-virtual environments without specifying the target path
|
|
79
|
+
with `--python`. See the [module discovery](https://github.com/astral-sh/ty/blob/0.0.1-alpha.2/docs/README.md#module-discovery) documentation for
|
|
80
|
+
details.
|
|
81
|
+
|
|
82
|
+
## Learning more
|
|
83
|
+
|
|
84
|
+
To learn more about using ty, see the [documentation](https://github.com/astral-sh/ty/blob/0.0.1-alpha.2/docs/README.md).
|
|
85
|
+
|
|
86
|
+
## Getting involved
|
|
87
|
+
|
|
88
|
+
If you have questions or want to report a bug, please open an
|
|
89
|
+
[issue](https://github.com/astral-sh/ty/issues) in this repository.
|
|
90
|
+
|
|
91
|
+
Development of this project takes place in the [Ruff](https://github.com/astral-sh/ruff) repository
|
|
92
|
+
at this time. Please [open pull requests](https://github.com/astral-sh/ruff/pulls) there for changes
|
|
93
|
+
to anything in the `ruff` submodule (which includes all of the Rust source code).
|
|
94
|
+
|
|
95
|
+
See the
|
|
96
|
+
[contributing guide](https://github.com/astral-sh/ty/blob/0.0.1-alpha.2/CONTRIBUTING.md) for more details.
|
|
97
|
+
|
|
98
|
+
## License
|
|
99
|
+
|
|
100
|
+
ty is licensed under the MIT license ([LICENSE](https://github.com/astral-sh/ty/blob/0.0.1-alpha.2/LICENSE) or
|
|
101
|
+
<https://opensource.org/licenses/MIT>).
|
|
102
|
+
|
|
103
|
+
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in ty
|
|
104
|
+
by you, as defined in the MIT license, shall be licensed as above, without any additional terms or
|
|
105
|
+
conditions.
|
|
106
|
+
|
|
107
|
+
<div align="center">
|
|
108
|
+
<a target="_blank" href="https://astral.sh" style="background:none">
|
|
109
|
+
<img src="https://raw.githubusercontent.com/astral-sh/uv/main/assets/svg/Astral.svg" alt="Made by Astral">
|
|
110
|
+
</a>
|
|
111
|
+
</div>
|
|
98
112
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
ty-0.0.1a2.data/scripts/ty.exe,sha256=S2ttFz4CHrcLs66UZjXPSdEI5Ip4j68lbnsdoUAy0yE,14108672
|
|
2
|
+
ty-0.0.1a2.dist-info/METADATA,sha256=fgCFOVQzU6Guqt9pqQcAWlyBZcEHZxgO6S0RgXNNI5k,4563
|
|
3
|
+
ty-0.0.1a2.dist-info/WHEEL,sha256=Avoj2P0zbCDE_MeJOSIo7OHux5n9FlrngDhRLa3FWRU,89
|
|
4
|
+
ty-0.0.1a2.dist-info/licenses/LICENSE,sha256=hg49eoa4TmpwEsemNfxk30dc68bM403-tzpZguxYF2w,1077
|
|
5
|
+
ty/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
ty/__main__.py,sha256=EFz_yrs8nZWhIs1P5u76AQdloJrLT5K3-BwDjBEMi3s,2875
|
|
7
|
+
ty/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
8
|
+
ty-0.0.1a2.dist-info/RECORD,,
|
ty-0.0.0a8.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
ty-0.0.0a8.data/scripts/ty.exe,sha256=nA2fmusqstLeg6CCKojL4ptJBRVjiQF9o4PwYUfWhsU,14076928
|
|
2
|
-
ty-0.0.0a8.dist-info/METADATA,sha256=Dulxr2mj5GCsVkOAagzLVdIN3ZPRhZXvqX3PE8TEB7Q,3348
|
|
3
|
-
ty-0.0.0a8.dist-info/WHEEL,sha256=CATKazm5fKVnThnYmUnloCpX_63S1v_LVFdXsLzs1p0,89
|
|
4
|
-
ty-0.0.0a8.dist-info/licenses/LICENSE,sha256=hg49eoa4TmpwEsemNfxk30dc68bM403-tzpZguxYF2w,1077
|
|
5
|
-
ty/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
ty/__main__.py,sha256=EFz_yrs8nZWhIs1P5u76AQdloJrLT5K3-BwDjBEMi3s,2875
|
|
7
|
-
ty/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
8
|
-
ty-0.0.0a8.dist-info/RECORD,,
|
|
File without changes
|