renovate[bot]
5a48da53da
Update Rust crate serde_json to v1.0.133 ( #14413 )
2024-11-17 20:41:29 -05:00
renovate[bot]
58005b590c
Update Rust crate serde to v1.0.215 ( #14412 )
2024-11-17 20:41:23 -05:00
renovate[bot]
884835e386
Update Rust crate libc to v0.2.164 ( #14411 )
2024-11-17 20:41:17 -05:00
renovate[bot]
efd4407f7f
Update Rust crate indicatif to v0.17.9 ( #14410 )
2024-11-17 20:41:13 -05:00
renovate[bot]
761588a60e
Update Rust crate clap to v4.5.21 ( #14409 )
2024-11-17 20:41:06 -05:00
Micha Reiser
81e5830585
Workspace discovery ( #14308 )
2024-11-15 19:20:15 +01:00
Micha Reiser
2b58705cc1
Remove the optional salsa dependency from the AST crate ( #14363 )
2024-11-15 16:46:04 +00:00
David Peter
9f3235a37f
[red-knot] Expand test corpus ( #14360 )
...
## Summary
- Add 383 files from `crates/ruff_python_parser/resources` to the test
corpus
- Add 1296 files from `crates/ruff_linter/resources` to the test corpus
- Use in-memory file system for tests
- Improve test isolation by cleaning the test environment between checks
- Add a mechanism for "known failures". Mark ~80 files as known
failures.
- The corpus test is now a lot slower (6 seconds).
Note:
While `red_knot` as a command line tool can run over all of these
files without panicking, we still have a lot of test failures caused by
explicitly "pulling" all types.
## Test Plan
Run `cargo test -p red_knot_workspace` while making sure that
- Introducing code that is known to lead to a panic fails the test
- Removing code that is known to lead to a panic from
`KNOWN_FAILURES`-files also fails the test
2024-11-15 17:09:15 +01:00
Dhruv Manilawala
ed7b98cf9b
Bump version to 0.7.4 ( #14358 )
2024-11-15 11:17:32 +00:00
renovate[bot]
ba7b023f26
Update Rust crate tempfile to v3.14.0 ( #14260 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 09:48:51 +00:00
renovate[bot]
e947d163b2
Update Rust crate thiserror to v2 ( #14262 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io >
2024-11-11 09:46:09 +00:00
Charlie Marsh
5bf4759cff
Detect permutations in redundant open modes ( #14255 )
...
## Summary
Closes https://github.com/astral-sh/ruff/issues/14235 .
2024-11-10 22:48:30 -05:00
renovate[bot]
2e9e96338e
Update Rust crate url to v2.5.3 ( #14251 )
2024-11-10 19:47:14 -05:00
renovate[bot]
5fa7ace1f5
Update Rust crate matchit to v0.8.5 ( #14250 )
2024-11-10 19:47:09 -05:00
renovate[bot]
704868ca83
Update Rust crate libc to v0.2.162 ( #14249 )
2024-11-10 19:47:02 -05:00
renovate[bot]
dc71c8a484
Update Rust crate hashbrown to v0.15.1 ( #14247 )
2024-11-10 19:46:55 -05:00
renovate[bot]
2499297392
Update Rust crate is-macro to v0.3.7 ( #14248 )
2024-11-10 19:46:48 -05:00
renovate[bot]
7b9189bb2c
Update Rust crate anyhow to v1.0.93 ( #14246 )
2024-11-10 19:46:40 -05:00
Dhruv Manilawala
fbf140a665
Bump version to 0.7.3 ( #14197 )
2024-11-08 16:39:37 +05:30
Micha Reiser
59c0dacea0
Introduce Diagnostic trait ( #14130 )
2024-11-07 13:26:21 +01:00
Micha Reiser
a56ee9268e
Add mdtest support for files with invalid syntax ( #14126 )
2024-11-06 12:25:52 +01:00
Micha Reiser
bc0586d922
Avoid cloning Name when looking up function and class types ( #14092 )
2024-11-04 15:52:59 +01:00
Alex Waygood
df45a0e3f9
[red-knot] Add MRO resolution for classes ( #14027 )
2024-11-04 13:31:38 +00:00
renovate[bot]
a6f7f22b27
Update Rust crate notify to v7 ( #14083 )
2024-11-04 07:39:06 +01:00
renovate[bot]
6ccd0f187b
Update Rust crate thiserror to v1.0.67 ( #14076 )
2024-11-03 21:16:13 -05:00
renovate[bot]
de40f6a3ad
Update Rust crate syn to v2.0.87 ( #14075 )
2024-11-03 21:16:08 -05:00
renovate[bot]
dfbd27dc2f
Update Rust crate serde to v1.0.214 ( #14074 )
2024-11-03 21:16:02 -05:00
renovate[bot]
1531ca8a1b
Update Rust crate pep440_rs to v0.7.2 ( #14073 )
2024-11-03 21:15:56 -05:00
renovate[bot]
71702bbd48
Update Rust crate insta to v1.41.1 ( #14072 )
2024-11-03 21:15:49 -05:00
renovate[bot]
8d9bdb5b92
Update Rust crate anyhow to v1.0.92 ( #14071 )
2024-11-03 21:15:42 -05:00
Dhruv Manilawala
ef72fd79a7
Bump version to 0.7.2 ( #14039 )
2024-11-01 19:09:07 +05:30
Charlie Marsh
b6847b371e
Skip namespace package enforcement for PEP 723 scripts ( #13974 )
...
## Summary
Vendors the PEP 723 parser from
[uv](debe67ffdb/crates/uv-scripts/src/lib.rs (L283) ).
Closes https://github.com/astral-sh/ruff/issues/13912 .
2024-10-29 02:11:31 +00:00
Micha Reiser
9f3a38d408
Extract LineIndex independent methods from Locator ( #13938 )
2024-10-28 07:53:41 +00:00
renovate[bot]
41f74512df
Update Rust crate insta to v1.41.0 ( #13956 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io >
2024-10-28 06:51:53 +00:00
renovate[bot]
387dc664bd
Update Rust crate thiserror to v1.0.65 ( #13950 )
2024-10-28 06:28:58 +00:00
renovate[bot]
41c9bdbd37
Update Rust crate syn to v2.0.85 ( #13949 )
2024-10-28 06:28:36 +00:00
renovate[bot]
222a646437
Update Rust crate serde to v1.0.213 ( #13948 )
2024-10-28 06:27:18 +00:00
renovate[bot]
5b411fe606
Update Rust crate proc-macro2 to v1.0.89 ( #13946 )
2024-10-28 06:26:53 +00:00
renovate[bot]
47dd83e56f
Update Rust crate regex to v1.11.1 ( #13947 )
2024-10-28 06:26:36 +00:00
renovate[bot]
08e23d78aa
Update Rust crate anyhow to v1.0.91 ( #13945 )
2024-10-28 06:25:44 +00:00
Dhruv Manilawala
337af836d3
Bump version to 0.7.1 ( #13913 )
2024-10-24 20:57:07 +05:30
Micha Reiser
155be88373
Speedup mdtest parser ( #13835 )
2024-10-21 19:49:20 +00:00
Micha Reiser
9e3cf14dde
Speed up mdtests ( #13832 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-10-21 20:06:41 +01:00
renovate[bot]
a80d515be3
Update Rust crate uuid to v1.11.0 ( #13845 )
2024-10-20 22:18:49 -05:00
renovate[bot]
9477058790
Update Rust crate serde_json to v1.0.132 ( #13848 )
2024-10-20 22:18:16 -05:00
renovate[bot]
19a2fd1c82
Update Rust crate fern to 0.7.0 ( #13844 )
2024-10-21 01:51:49 +00:00
renovate[bot]
cf26676c60
Update Rust crate syn to v2.0.82 ( #13842 )
2024-10-21 01:50:19 +00:00
renovate[bot]
7060bf87c0
Update Rust crate proc-macro2 to v1.0.88 ( #13841 )
2024-10-21 01:49:56 +00:00
renovate[bot]
ca8f10862e
Update Rust crate anyhow to v1.0.90 ( #13839 )
2024-10-21 01:49:36 +00:00
renovate[bot]
c9b74eda4a
Update Rust crate libc to v0.2.161 ( #13840 )
2024-10-21 01:49:11 +00:00