From e8d9c1f2ab49013f27fcd7d391195f5251ef47a9 Mon Sep 17 00:00:00 2001 From: Lasse Yledahl Date: Fri, 29 Nov 2024 08:36:22 +0000 Subject: [PATCH] add PIE rules to ruff --- ruff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruff.toml b/ruff.toml index 79a72acfc..babd9502e 100644 --- a/ruff.toml +++ b/ruff.toml @@ -3,7 +3,7 @@ line-length = 120 target-version = "py311" [lint] -select = ["E", "F", "W", "I", "ASYNC", "UP", "FLY", "PERF", "FURB", "ERA", "ANN"] +select = ["E", "F", "W", "I", "ASYNC", "UP", "FLY", "PERF", "FURB", "ERA", "ANN", "PIE"] # ANN101 and ANN102 are depracated ignore = ["E501", "ANN1"]