Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist-workspace.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
members = ["cargo:./ruff"]
packages = ["ty"]
version = "0.0.0-alpha.4"
version = "0.0.0-alpha.5"

# Config for 'dist'
[dist]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ty"
version = "0.0.0a4"
version = "0.0.0a5"
description = "An extremely fast Python type checker, written in Rust."
readme = "README.md"
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
Expand Down
2 changes: 1 addition & 1 deletion ruff
Submodule ruff updated 84 files
+1 −2 CODE_OF_CONDUCT.md
+6 −6 Cargo.lock
+1 −1 Cargo.toml
+1 −1 crates/ruff/src/cache.rs
+2 −2 crates/ruff/tests/lint.rs
+4 −0 crates/ruff_db/src/diagnostic/mod.rs
+37 −0 crates/ruff_linter/resources/test/fixtures/ruff/RUF060.py
+3 −0 crates/ruff_linter/src/checkers/ast/analyze/expression.rs
+20 −10 crates/ruff_linter/src/checkers/ast/mod.rs
+1 −0 crates/ruff_linter/src/codes.rs
+26 −20 crates/ruff_linter/src/linter.rs
+1 −1 crates/ruff_linter/src/rules/fastapi/mod.rs
+1 −1 crates/ruff_linter/src/rules/flake8_annotations/mod.rs
+1 −1 crates/ruff_linter/src/rules/flake8_async/mod.rs
+1 −1 crates/ruff_linter/src/rules/flake8_bugbear/mod.rs
+1 −1 crates/ruff_linter/src/rules/flake8_builtins/mod.rs
+2 −2 crates/ruff_linter/src/rules/flake8_future_annotations/mod.rs
+1 −1 crates/ruff_linter/src/rules/flake8_pyi/mod.rs
+1 −1 crates/ruff_linter/src/rules/flake8_type_checking/mod.rs
+1 −1 crates/ruff_linter/src/rules/perflint/mod.rs
+4 −3 crates/ruff_linter/src/rules/pyflakes/mod.rs
+14 −0 crates/ruff_linter/src/rules/pylint/rules/sys_exit_alias.rs
+10 −10 crates/ruff_linter/src/rules/pyupgrade/mod.rs
+2 −1 crates/ruff_linter/src/rules/ruff/mod.rs
+89 −0 crates/ruff_linter/src/rules/ruff/rules/in_empty_collection.rs
+2 −0 crates/ruff_linter/src/rules/ruff/rules/mod.rs
+200 −0 crates/ruff_linter/src/rules/ruff/snapshots/ruff_linter__rules__ruff__tests__RUF060_RUF060.py.snap
+53 −8 crates/ruff_linter/src/settings/mod.rs
+2 −1 crates/ruff_linter/src/test.rs
+2 −1 crates/ruff_server/src/lint.rs
+2 −1 crates/ruff_wasm/src/lib.rs
+1 −1 crates/ruff_wasm/tests/api.rs
+5 −2 crates/ruff_workspace/src/configuration.rs
+1 −1 crates/ty/Cargo.toml
+1 −1 crates/ty/src/args.rs
+4 −0 crates/ty/src/main.rs
+6 −0 crates/ty/src/version.rs
+7 −7 crates/ty/tests/cli.rs
+18 −0 crates/ty_python_semantic/resources/mdtest/annotations/unsupported_special_types.md
+1 −1 crates/ty_python_semantic/resources/mdtest/call/union.md
+1 −1 crates/ty_python_semantic/resources/mdtest/decorators.md
+54 −0 crates/ty_python_semantic/resources/mdtest/function/return_type.md
+45 −0 crates/ty_python_semantic/resources/mdtest/generics/legacy/classes.md
+38 −0 crates/ty_python_semantic/resources/mdtest/generics/pep695/classes.md
+15 −3 crates/ty_python_semantic/resources/mdtest/import/basic.md
+3 −3 crates/ty_python_semantic/resources/mdtest/import/errors.md
+1 −1 crates/ty_python_semantic/resources/mdtest/import/star.md
+1 −1 crates/ty_python_semantic/resources/mdtest/mdtest_custom_typeshed.md
+0 −1 crates/ty_python_semantic/resources/mdtest/mro.md
+132 −0 crates/ty_python_semantic/resources/mdtest/narrow/conditionals/nested.md
+30 −0 ...resources/mdtest/snapshots/basic.md_-_Structures_-_Multiple_objects_imported_from_an_unresolved_module.snap
+3 −3 crates/ty_python_semantic/resources/mdtest/snapshots/basic.md_-_Structures_-_Unresolvable_module_import.snap
+6 −6 ...s/ty_python_semantic/resources/mdtest/snapshots/basic.md_-_Structures_-_Unresolvable_submodule_imports.snap
+82 −0 ...python_semantic/resources/mdtest/snapshots/return_type.md_-_Function_return_type_-_Generator_functions.snap
+1 −1 ...unresolved_import.md_-_Unresolved_import_diagnostics_-_An_unresolvable_import_that_does_not_use_`from`.snap
+1 −1 ...ots/unresolved_import.md_-_Unresolved_import_diagnostics_-_Using_`from`_with_an_unknown_current_module.snap
+1 −1 ...hots/unresolved_import.md_-_Unresolved_import_diagnostics_-_Using_`from`_with_an_unknown_nested_module.snap
+1 −1 ...pshots/unresolved_import.md_-_Unresolved_import_diagnostics_-_Using_`from`_with_an_unresolvable_module.snap
+1 −1 ...apshots/unresolved_import.md_-_Unresolved_import_diagnostics_-_Using_`from`_with_too_many_leading_dots.snap
+21 −18 crates/ty_python_semantic/src/semantic_index.rs
+32 −20 crates/ty_python_semantic/src/semantic_index/builder.rs
+7 −0 crates/ty_python_semantic/src/semantic_index/narrowing_constraints.rs
+5 −1 crates/ty_python_semantic/src/semantic_index/symbol.rs
+101 −38 crates/ty_python_semantic/src/semantic_index/use_def.rs
+55 −1 crates/ty_python_semantic/src/semantic_index/use_def/symbol_state.rs
+3 −19 crates/ty_python_semantic/src/symbol.rs
+11 −12 crates/ty_python_semantic/src/types.rs
+17 −0 crates/ty_python_semantic/src/types/call/bind.rs
+45 −1 crates/ty_python_semantic/src/types/class.rs
+37 −2 crates/ty_python_semantic/src/types/diagnostic.rs
+3 −0 crates/ty_python_semantic/src/types/generics.rs
+189 −127 crates/ty_python_semantic/src/types/infer.rs
+11 −0 crates/ty_python_semantic/src/types/instance.rs
+5 −6 crates/ty_python_semantic/src/types/narrow.rs
+4 −1 crates/ty_wasm/tests/api.rs
+1 −1 fuzz/Cargo.toml
+6 −2 playground/api/src/index.ts
+3 −9 playground/shared/src/Header.tsx
+6 −3 playground/ty/index.html
+ playground/ty/public/favicon-16x16.png
+ playground/ty/public/favicon-32x32.png
+ playground/ty/public/favicon.ico
+1 −1 playground/ty/src/Playground.tsx
+2 −0 ruff.schema.json
Loading