@ -1,4 +1,4 @@
import subprocess # noqa: S404
import subprocess # noqa: S404, RUF100
from pathlib import Path
@ -6,7 +6,7 @@ if "dev" in __version__:
try:
freqtrade_basedir = Path(__file__).parent
@ -37,7 +37,7 @@ def chown_user_directory(directory: Path) -> None:
"""
if running_in_docker():
subprocess.check_output(["sudo", "chown", "-R", "ftuser:", str(directory.resolve())])
except Exception:
@ -7,7 +7,7 @@ if "dev" in __version__:
import time
from tests.conftest import is_arm, is_mac