From bac60deab00742299fab611a8b8d671615414f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=20Vinh=20LUONG=20=28L=C6=AF=C6=A0NG=20Th=E1=BA=BF=20Vi?= =?UTF-8?q?nh=29?= Date: Fri, 6 Dec 2024 20:17:30 -0800 Subject: [PATCH] update Ruff config --- .ruff.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ruff.toml b/.ruff.toml index b009f3801..6cddee311 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -101,6 +101,7 @@ ignore = [ "PTH118", # `os.path.join()` should be replaced by `Path` with `/` operator "PTH119", # `os.path.basename()` should be replaced by `Path.name` "PTH123", # `open()` should be replaced by `Path.open()` + "PTH208", # use `pathlib.Path.iterdir()` instead "PLC0415", # `import` should be at the top-level of a file "PLR0904", # too many public methods "PLR0917", # too many positional arguments