chore: Fix errors through S404 noqa's

This commit is contained in:
Matthias
2025-04-09 20:10:19 +02:00
parent feab28de91
commit a85dc6972d
5 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import subprocess # noqa: S404
import subprocess # noqa: S404, RUF100
from pathlib import Path

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
import subprocess # noqa: S404
import subprocess # noqa: S404, RUF100
import time
from tests.conftest import is_arm, is_mac