From b9b044585dc19b8c76119bdedb3e00e8f0802c22 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 20 Apr 2024 10:25:23 +0200 Subject: [PATCH] Add but comment a few ruff rules --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9455d1d0e..5e02079a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,7 +122,7 @@ target-version = "py38" # Exclude UP036 as it's causing the "exit if < 3.9" to fail. extend-select = [ "C90", # mccabe - # "B", # bugbear + # "B", # bugbear # "N", # pep8-naming "F", # pyflakes "E", # pycodestyle @@ -130,6 +130,7 @@ extend-select = [ "UP", # pyupgrade "TID", # flake8-tidy-imports # "EXE", # flake8-executable + # "C4", # flake8-comprehensions "YTT", # flake8-2020 # "S", # flake8-bandit # "DTZ", # flake8-datetimez