Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 7, 2025
1 parent ca95d3e commit b9921eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/boilercine_tools/add_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def add_change(typ: ChangeType = "change"):
change = get_change(owner, repo, issue)
content = quote(f"{change.name}\n")
run(
split(f"""towncrier create --content {content} {change.id}.{typ}.md"""), # noqa: S603
split(f"""towncrier create --content {content} {change.id}.{typ}.md"""),

Check failure on line 23 in scripts/boilercine_tools/add_changes.py

View workflow job for this annotation

GitHub Actions / ruff (ubuntu-22.04, 3.11)

Ruff (S603)

scripts/boilercine_tools/add_changes.py:23:9: S603 `subprocess` call: check for execution of untrusted input
check=True,
)

Expand Down Expand Up @@ -94,7 +94,7 @@ def query_gh_issue(
) -> dict[str, Any]:
"""Query GitHub for an issue."""
result = run(
[ # noqa: S607, S603
[ # noqa: S607
"gh",
"api",
"graphql",
Expand Down

0 comments on commit b9921eb

Please sign in to comment.