ruff/crates/ruff_linter/resources/test/fixtures/flake8_use_pathlib
InSync 4f37fdeff2
[`flake8-bandit`] Check for `builtins` instead of `builtin` (`S102`, `PTH123`) (#15443)
## Summary

Resolves #15442.

## Test Plan

`cargo nextest run` and `cargo insta test`.
2025-01-12 19:45:31 -05: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
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 [`flake8-bandit`] Check for `builtins` instead of `builtin` (`S102`, `PTH123`) (#15443) 2025-01-12 19:45:31 -05:00
import_from_as.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02: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