From 472f9d556ee9dbc64f87094f86f1970ef3b0b3ef 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: Sun, 15 Dec 2024 10:03:20 -0800 Subject: [PATCH 1/2] update Ruff linting configs --- .ruff.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.ruff.toml b/.ruff.toml index 6cddee311..ccf22dcba 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -127,6 +127,7 @@ ignore = [ "RUF017", # Avoid quadratic list summation" "RUF018", # avoid assignment expressions in `assert` statements "RUF022", # __all__` is not sorted + "RUF051", # Use `pop` instead of `key in dict` followed by `del dict[key]` "RUF100", # unused `noqa` directive "S101", # use of `assert` detected "S106", # possible hardcoded password assigned to argument From 2d04aca9b63f24b9d83930190bee8d65adf9e677 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: Sun, 15 Dec 2024 10:07:36 -0800 Subject: [PATCH 2/2] update PyLint configs --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 4802808d4..9dc1cd2dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -142,6 +142,7 @@ disable = [ "relative-beyond-top-level", "too-few-public-methods", "too-many-positional-arguments", + "unexpected-keyword-arg", "unknown-option-value", "unnecessary-pass", ]