From 6a54f37a078c83f022200719c119f11f0d4ff1ca Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Thu, 19 Oct 2023 15:36:48 +0200 Subject: [PATCH] Add Refurb to ruff Seems to do some nice checks: https://docs.astral.sh/ruff/rules/#refurb-furb --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 442a76b6c3..237726c7ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -300,6 +300,7 @@ select = [ "B", # flake8-bugbear "C4", # flake8-comprehensions "I", # isort + "FURB", # refurb "UP", # pyupgrade ] ignore = ["E501","E203","B024","B028"]