From 8647e4443629c02e6b065f7c449af03c0f25ac4b Mon Sep 17 00:00:00 2001 From: derekk-nm Date: Wed, 25 Sep 2024 18:31:08 +0000 Subject: [PATCH] skip shell=True, but ignore ruff S603 --- .../testmo-create-resources/compose_testmo_resources_file.py | 3 +-- ruff.toml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/testmo-create-resources/compose_testmo_resources_file.py b/actions/testmo-create-resources/compose_testmo_resources_file.py index a41da26..8f945a5 100755 --- a/actions/testmo-create-resources/compose_testmo_resources_file.py +++ b/actions/testmo-create-resources/compose_testmo_resources_file.py @@ -49,6 +49,5 @@ testmo_command + testmo_args, capture_output=True, check=True, - cwd=pathlib.Path.cwd(), - shell=True + cwd=pathlib.Path.cwd() ) diff --git a/ruff.toml b/ruff.toml index c7a04fc..c19bdeb 100644 --- a/ruff.toml +++ b/ruff.toml @@ -14,6 +14,7 @@ ignore = [ "ISC001", "TCH002", "PLW1514", # allow Path.open without encoding + "S603"# https://github.com/astral-sh/ruff/issues/4045 ] select = [ # Rules reference: https://docs.astral.sh/ruff/rules/