Commit 924ae0f
committed
chore(config) Fix ruff nit (PTH208)
src/vcspull/config.py:349:25: PTH208 Use `pathlib.Path.iterdir()` instead.
|
347 | return [
348 | filename
349 | for filename in os.listdir(config_dir)
| ^^^^^^^^^^ PTH208
350 | if is_config_file(filename, extensions) and not filename.startswith(".")
351 | ]
|
Found 1 error.1 parent 218c7eb commit 924ae0f
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
0 commit comments