From 026169001808b17727de4c9478689c1d9e3ed171 Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Sun, 3 Sep 2023 21:41:50 +0530 Subject: [PATCH] update ruff rules --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a857bd3f52..93b35ca1a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,13 +48,13 @@ select = [ unfixable = [ "T20" # don't remove print statements ] -ignore = ["E203", "E501", "E231"] +ignore = ["E203", "E501", "E231", "FBT002", "SIM105", "PLR0913"] extend-exclude = ["*/migrations*/*", "docs"] include = ["*.py", "pyproject.toml"] [tool.ruff.flake8-builtins] -builtins-ignorelist = ["id"] +builtins-ignorelist = ["id", "list", "filter"] [tool.ruff.flake8-quotes] @@ -63,3 +63,4 @@ docstring-quotes = "double" [tool.ruff.per-file-ignores] "**/__init__.py" = ["E402", "F401"] +"**/tests/**" = ["DTZ001"]