ruff/crates/ruff_linter/resources/test/fixtures/flake8_use_pathlib
chiri 144373fb3c
[flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes (#20143)
## Summary
Fixes https://github.com/astral-sh/ruff/issues/20134

## Test Plan
`cargo nextest run flake8_use_pathlib`

---------

Co-authored-by: Dan Parizher <danparizher@users.noreply.github.com>
Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>
2025-09-18 14:17:54 +00:00
..
full_name.py [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes (#20143) 2025-09-18 14:17:54 +00:00
import_as.py
import_from.py [flake8-use-pathlib] Add fix for PTH123 (#20169) 2025-09-17 15:47:29 -04:00
import_from_as.py
PTH123.py [flake8-use-pathlib] Add fix for PTH123 (#20169) 2025-09-17 15:47:29 -04:00
PTH201.py [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses (#19440) 2025-07-31 22:18:07 -04:00
PTH202.py [flake8-use-pathlib] Add autofix for PTH202 (#18763) 2025-06-24 17:58:31 +00:00
PTH202_2.py [flake8-use-pathlib] Add autofix for PTH202 (#18763) 2025-06-24 17:58:31 +00:00
PTH203.py [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205 (#18922) 2025-07-07 16:56:21 -04:00
PTH204.py
PTH205.py
PTH206.py
PTH207.py
PTH208.py
PTH210.py [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210) (#19388) 2025-07-16 20:43:03 +00:00
PTH210_1.py
PTH210_2.py [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14 (#19331) 2025-07-15 07:05:00 -05:00
PTH211.py [flake8-use-pathlib] Add autofix for PTH211 (#20009) 2025-08-22 12:38:37 -05:00
py_path_1.py
py_path_2.py
use_pathlib.py