GRM-24: fix: resolve bandit security warnings in source code and tests

This commit is contained in:
Emil Simeonov
2026-06-19 21:13:42 +02:00
parent e9c0f22fc0
commit ae27417a5f
5 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ Rules:
"""
import re
import subprocess
import subprocess # nosec B404
import click
@@ -24,7 +24,7 @@ def first_line(text: str) -> str:
def get_branch() -> str:
try:
result = subprocess.run(
result = subprocess.run( # nosec
["git", "symbolic-ref", "--short", "HEAD"],
capture_output=True,
text=True,