Dhruv Manilawala
976c37a849
Bump version to 0.8.1 ( #14655 )
2024-11-28 19:12:50 +05:30
renovate[bot]
b7571c3e24
Update Rust crate syn to v2.0.89 ( #14573 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 07:46:06 +00:00
renovate[bot]
6501782678
Update Rust crate libcst to v1.5.1 ( #14570 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 08:39:22 +01:00
renovate[bot]
bca4341dcc
Update Rust crate hashbrown to v0.15.2 ( #14569 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 08:38:34 +01:00
renovate[bot]
31ede11774
Update Rust crate quick-junit to v0.5.1 ( #14572 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 08:38:12 +01:00
renovate[bot]
ba9f881687
Update Rust crate proc-macro2 to v1.0.92 ( #14571 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 08:38:00 +01:00
renovate[bot]
4357a0a3c2
Update Rust crate unicode-ident to v1.0.14 ( #14574 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 08:36:50 +01:00
renovate[bot]
c18afa93b3
Update Rust crate url to v2.5.4 ( #14575 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 08:36:28 +01:00
renovate[bot]
8f04202ee4
Update Rust crate dir-test to 0.4.0 ( #14578 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 08:36:06 +01:00
Micha Reiser
8358ad8d25
Ruff 0.8 release ( #14486 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: David Salvisberg <dave@daverball.com >
2024-11-22 08:45:19 +01:00
Dylan
2efa3fbb62
[flake8-import-conventions] Syntax check aliases supplied in configuration for unconventional-import-alias (ICN001) ( #14477 )
...
Co-authored-by: Micha Reiser <micha@reiser.io >
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2024-11-21 15:54:49 +00:00
renovate[bot]
8c3c5ee5e3
Update Rust crate unicode-width to 0.2.0 ( #13473 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 13:11:51 +01:00
konsti
b46cc6ac0b
Update pyproject-toml to support PEP 639 ( #13902 )
...
Fixes #13869
2024-11-20 13:11:51 +01:00
renovate[bot]
35fe0e90da
Update Rust crate bstr to v1.11.0 ( #14417 )
2024-11-17 20:41:49 -05:00
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