aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-07-01 22:05:32 +0100
committerGravatar Chris Lovering <[email protected]>2024-07-01 22:05:32 +0100
commitcc451bdc283d2ed03d4b3472e61534bfd050844e (patch)
tree777c14cf74075ee8a4f306af7c1d2410bdd3ec48
parentUpdate poetry (diff)
Move noqa definition required in latest ruff version
-rw-r--r--kubernetes/scripts/create_x509_user_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/scripts/create_x509_user_config.py b/kubernetes/scripts/create_x509_user_config.py
index 05a6750..21681f3 100644
--- a/kubernetes/scripts/create_x509_user_config.py
+++ b/kubernetes/scripts/create_x509_user_config.py
@@ -39,9 +39,9 @@ ROLE_BINDING_PATCH_TEMPLATE = """[
def run_and_return_output(command: str, cwd: str | None = None) -> str:
"""Run a command in a shell and return the result as a string."""
- return subprocess.run(
+ return subprocess.run( # noqa: S602
command,
- shell=True, # noqa: S602
+ shell=True,
stdout=subprocess.PIPE,
text=True,
check=True,