From 14891f393d056728fa1e0921e517e0b82bca832d Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Fri, 22 Mar 2024 16:17:51 -0700 Subject: [PATCH] Update ruff.toml --- umu/ruff.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/umu/ruff.toml b/umu/ruff.toml index 414d64d6c..4ac8a57ec 100644 --- a/umu/ruff.toml +++ b/umu/ruff.toml @@ -72,7 +72,15 @@ select = [ "ISC", # Ensure we're smart when using the logger # Specific log statements should execute only when necessary - "G" + "G", + # Prefer collapsing nested if-elif in the else branch + "PLR5501", + # Simply and catch redundant logic + "SIM", + # Ensure no useless arguments/paramaters + "ARG", + # Ensure explicit check= for subprocess.run to avoid silent failures + "PLW1510" ] ignore = [ # Format