ruff/crates/ruff_linter
Auguste Lalande dd42961dd9
[pylint] Detect pathlib.Path.open calls in unspecified-encoding (PLW1514) (#11288)
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

Resolves #11263

Detect `pathlib.Path.open` calls which do not specify a file encoding.

## Test Plan

Test cases added to fixture.

---------

Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2024-05-09 12:36:20 +00:00
..
resources [pylint] Detect pathlib.Path.open calls in unspecified-encoding (PLW1514) (#11288) 2024-05-09 12:36:20 +00:00
src [pylint] Detect pathlib.Path.open calls in unspecified-encoding (PLW1514) (#11288) 2024-05-09 12:36:20 +00:00
__init__.py [pylint] (Re-)Implement import-private-name (C2701) (#9553) 2024-01-16 14:03:11 -05:00
Cargo.toml Bump version to v0.4.3 (#11274) 2024-05-03 18:48:31 -04:00