From 1b79348c5a3b1b1f27b70fed0aa039881e41d400 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Wynen Date: Fri, 19 Apr 2024 15:11:49 +0200 Subject: [PATCH] Enable UP rules in ruff --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f936180d..6033589a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -102,7 +102,7 @@ extend-include = ["*.ipynb"] extend-exclude = [".*", "__pycache__", "build", "dist", "venv"] [tool.ruff.lint] -select = ["B", "D", "E", "F", "G", "I", "S", "T20", "PGH", "FBT003", "RUF"] +select = ["B", "D", "E", "F", "G", "I", "S", "T20", "UP", "PGH", "FBT003", "RUF"] ignore = [ "B905", # `zip()` without an explicit `strict=` parameter "S324", # insecure hsh function; we don't use hashing for security