ruff/crates/ruff_linter
Mikko Leppänen eab1a6862b
[`ruff`] Detect unnecessary `dict` comprehensions for iterables (`RUF025`) (#9613)
## Summary

Checks for unnecessary `dict` comprehension when creating a new
dictionary from iterable. Suggest to replace with
`dict.fromkeys(iterable)`

See: https://github.com/astral-sh/ruff/issues/9592

## Test Plan

```bash
cargo test
```
2024-01-24 02:15:38 +00:00
..
resources [`ruff`] Detect unnecessary `dict` comprehensions for iterables (`RUF025`) (#9613) 2024-01-24 02:15:38 +00:00
src [`ruff`] Detect unnecessary `dict` comprehensions for iterables (`RUF025`) (#9613) 2024-01-24 02:15:38 +00:00
Cargo.toml Bump version to v0.1.14 (#9581) 2024-01-19 12:54:39 -05:00
__init__.py [`pylint`] (Re-)Implement `import-private-name` (`C2701`) (#9553) 2024-01-16 14:03:11 -05:00