ruff/crates/ruff_linter
konsti 26f9b4a8e6
Don't suggest replacing builtin.open() with Path.open() if the latter doesn't support all options (#7637)
**Summary** Check that `closefd` and `opener` aren't being used with
`builtin.open()` before suggesting `Path.open()` because pathlib doesn't
support these arguments.

Closes #7620

**Test Plan** New cases in the fixture.
2023-09-26 09:07:35 +00:00
..
resources/test Don't suggest replacing builtin.open() with Path.open() if the latter doesn't support all options (#7637) 2023-09-26 09:07:35 +00:00
src Don't suggest replacing builtin.open() with Path.open() if the latter doesn't support all options (#7637) 2023-09-26 09:07:35 +00:00
Cargo.toml Implement our own small-integer optimization (#7584) 2023-09-25 15:13:21 +00:00