Skip to content

Commit 886edb5

Browse files
[pre-commit.ci] pre-commit autoupdate (#19)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent da25ff9 commit 886edb5

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ repos:
1515
- id: tox-ini-fmt
1616
args: ["-p", "fix"]
1717
- repo: https://github.com/tox-dev/pyproject-fmt
18-
rev: "2.1.3"
18+
rev: "2.1.4"
1919
hooks:
2020
- id: pyproject-fmt
21-
additional_dependencies: ["tox>=4.12.1"]
2221
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: "v0.4.9"
22+
rev: "v0.5.0"
2423
hooks:
2524
- id: ruff-format
2625
- id: ruff

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ lint.ignore = [
8989
"INP001", # no implicit namespaces here
9090
"ISC001", # Conflict with formatter
9191
"S104", # Possible binding to all interfaces
92+
"S603", # `subprocess` call: check for execution of untrusted input
9293
]
9394
lint.per-file-ignores."tests/**/*.py" = [
9495
"D", # don't care about documentation in tests
@@ -99,7 +100,6 @@ lint.per-file-ignores."tests/**/*.py" = [
99100
"PLR0917", # too many positional arguments
100101
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable
101102
"S101", # asserts allowed in tests
102-
"S603", # `subprocess` call: check for execution of untrusted input
103103
]
104104
lint.isort = { known-first-party = [
105105
"py_discovery",

src/py_discovery/_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def _run_subprocess( # noqa: PLR0914
630630
logging.debug("get interpreter info via cmd: %s", LogCmd(cmd))
631631
try:
632632
process = Popen(
633-
cmd, # noqa: S603
633+
cmd,
634634
universal_newlines=True,
635635
stdin=PIPE,
636636
stderr=PIPE,

0 commit comments

Comments
 (0)