Skip to content

Commit df76fa8

Browse files
[ruff] Disable PTH208 Use 'pathlib.Path.iterdir()' instead
1 parent bf9056e commit df76fa8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ lint.ignore = [
135135
"PTH122", # `os.path.splitext()` should be replaced by `Path.suffix`, `Path.stem`, and `Path.parent`
136136
"PTH123", # `open()` should be replaced by `Path.open()`
137137
"PTH207", # Replace `glob` with `Path.glob` or `Path.rglob`
138+
"PTH208", # Use `pathlib.Path.iterdir()` instead"
138139
"RUF012", # mutable default values in class attributes
139140
]
140141
lint.pydocstyle.convention = "pep257"

0 commit comments

Comments
 (0)