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 Jul 16, 2024
1 parent 9919f5f commit 95b13df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions scripts/boilerdaq_tools/add_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ def add_change(typ: ChangeType = "change"):
change = get_change(owner, repo, issue)
content = quote(f"{change.name}\n")
run(

Check failure on line 22 in scripts/boilerdaq_tools/add_changes.py

View workflow job for this annotation

GitHub Actions / ruff (ubuntu-22.04, 3.11)

Ruff (S603)

scripts/boilerdaq_tools/add_changes.py:22:5: S603 `subprocess` call: check for execution of untrusted input
split( # noqa: S603
f"""towncrier create --content {content} {change.id}.{typ}.md"""
),
split(f"""towncrier create --content {content} {change.id}.{typ}.md"""),
check=True,
)

Expand Down Expand Up @@ -96,7 +94,7 @@ def query_gh_issue(
) -> dict[str, Any]:
"""Query GitHub for an issue."""
result = run(

Check failure on line 96 in scripts/boilerdaq_tools/add_changes.py

View workflow job for this annotation

GitHub Actions / ruff (ubuntu-22.04, 3.11)

Ruff (S603)

scripts/boilerdaq_tools/add_changes.py:96:14: S603 `subprocess` call: check for execution of untrusted input
[ # noqa: S607, S603
[ # noqa: S607
"gh",
"api",
"graphql",
Expand Down
2 changes: 1 addition & 1 deletion tests/boilerdaq_tests/test_boilerdaq.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from boilerdaq.daq import Looper


@pytest.mark.slow()
@pytest.mark.slow
def test_stages(looper: Looper):
"""Test stages."""
looper.start()

0 comments on commit 95b13df

Please sign in to comment.