chore: noqa S404

we're using static parameters with subpross, so it should be safe.
This commit is contained in:
Matthias 2024-07-05 08:25:24 +02:00
parent 0eadd51ff3
commit 8d9825ac95
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ if "dev" in __version__:
from pathlib import Path from pathlib import Path
try: try:
import subprocess import subprocess # noqa: S404
freqtrade_basedir = Path(__file__).parent freqtrade_basedir = Path(__file__).parent

View File

@ -38,7 +38,7 @@ def chown_user_directory(directory: Path) -> None:
""" """
if running_in_docker(): if running_in_docker():
try: try:
import subprocess import subprocess # noqa: S404
subprocess.check_output(["sudo", "chown", "-R", "ftuser:", str(directory.resolve())]) subprocess.check_output(["sudo", "chown", "-R", "ftuser:", str(directory.resolve())])
except Exception: except Exception:

View File

@ -7,7 +7,7 @@ if "dev" in __version__:
from pathlib import Path from pathlib import Path
try: try:
import subprocess import subprocess # noqa: S404
freqtrade_basedir = Path(__file__).parent freqtrade_basedir = Path(__file__).parent