File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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]
9394lint.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]
104104lint.isort = { known-first-party = [
105105 " py_discovery" ,
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments