ruff/crates/ruff_python_stdlib/src
Simon Høxbro Hansen 2ba5677700
Improvements to RUF015 (#7848)
## Summary

Resolves https://github.com/astral-sh/ruff/issues/7618. 

The list of builtin iterator is not exhaustive.

## Test Plan

`cargo test`

``` python
a = [1, 2]

examples = [
    enumerate(a),
    filter(lambda x: x, a),
    map(int, a),
    reversed(a),
    zip(a),
    iter(a),
]

for example in examples:
    print(next(example))
```
2023-10-08 14:49:45 +00:00
..
builtins.rs Improvements to RUF015 (#7848) 2023-10-08 14:49:45 +00:00
future.rs
identifiers.rs Use the unicode-ident crate (#7212) 2023-09-07 08:19:25 +00:00
keyword.rs
lib.rs
logging.rs Fix logging rules with whitespace around dot (#6022) 2023-07-24 05:14:48 +00:00
path.rs Add TOML files to SourceType (#6929) 2023-08-28 15:01:48 +00:00
str.rs
sys.rs Use u8 to represent version segments (#7578) 2023-09-21 14:24:51 -04:00
typing.rs