mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-09-20 01:21:11 +00:00
chore: noqa S404
we're using static parameters with subpross, so it should be safe.
This commit is contained in:
parent
0eadd51ff3
commit
8d9825ac95
|
@ -6,7 +6,7 @@ if "dev" in __version__:
|
|||
from pathlib import Path
|
||||
|
||||
try:
|
||||
import subprocess
|
||||
import subprocess # noqa: S404
|
||||
|
||||
freqtrade_basedir = Path(__file__).parent
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ def chown_user_directory(directory: Path) -> None:
|
|||
"""
|
||||
if running_in_docker():
|
||||
try:
|
||||
import subprocess
|
||||
import subprocess # noqa: S404
|
||||
|
||||
subprocess.check_output(["sudo", "chown", "-R", "ftuser:", str(directory.resolve())])
|
||||
except Exception:
|
||||
|
|
|
@ -7,7 +7,7 @@ if "dev" in __version__:
|
|||
from pathlib import Path
|
||||
|
||||
try:
|
||||
import subprocess
|
||||
import subprocess # noqa: S404
|
||||
|
||||
freqtrade_basedir = Path(__file__).parent
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user