ruff/crates/ruff_linter/resources/test/fixtures/flake8_use_pathlib
InSync 901b7dd8f8
[flake8-use-pathlib] Catch redundant joins in PTH201 and avoid syntax errors (#15177)
## Summary

Resolves #10453, resolves #15165.

## Test Plan

`cargo nextest run` and `cargo insta test`.
2024-12-30 03:31:35 +00:00
..
full_name.py Fix PTH123 false positive when open is passed a file descriptor (#13616) 2024-10-04 08:48:47 -05:00
import_as.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
import_from.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
import_from_as.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PTH201.py [flake8-use-pathlib] Catch redundant joins in PTH201 and avoid syntax errors (#15177) 2024-12-30 03:31:35 +00:00
PTH202.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PTH203.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PTH204.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PTH205.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PTH206.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PTH207.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
PTH208.py [flake8-use-pathlib] Recommend Path.iterdir() over os.listdir() (PTH208) (#14509) 2024-11-27 09:53:13 +00:00
PTH210.py [flake8-use-pathlib] Extend check for invalid path suffix to include the case "." (PTH210) (#14902) 2024-12-12 13:30:17 -06:00
PTH210_1.py [flake8-use-pathlib] Extend check for invalid path suffix to include the case "." (PTH210) (#14902) 2024-12-12 13:30:17 -06:00
py_path_1.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
py_path_2.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
use_pathlib.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00