mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Setup known first party modules
This commit is contained in:
parent
a8eabd0b2e
commit
baa15f6ed6
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
from freqtrade_client import __version__ as client_version
|
||||
|
||||
from freqtrade import __version__ as ft_version
|
||||
from freqtrade_client import __version__ as client_version
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
@ -8,6 +8,7 @@ from pathlib import Path
|
|||
from typing import Any, Dict
|
||||
|
||||
import rapidjson
|
||||
|
||||
from freqtrade_client import __version__
|
||||
from freqtrade_client.ft_rest_client import FtRestClient
|
||||
|
||||
|
|
|
@ -2,9 +2,10 @@ import re
|
|||
from unittest.mock import MagicMock
|
||||
|
||||
import pytest
|
||||
from requests.exceptions import ConnectionError
|
||||
|
||||
from freqtrade_client import FtRestClient
|
||||
from freqtrade_client.ft_client import add_arguments, main_exec
|
||||
from requests.exceptions import ConnectionError
|
||||
|
||||
|
||||
def log_has_re(line, logs):
|
||||
|
|
|
@ -79,6 +79,7 @@ profile = "black"
|
|||
# multi_line_output=3
|
||||
lines_after_imports=2
|
||||
skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*", "**/user_data/*"]
|
||||
known_first_party = ["freqtrade_client"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
|
@ -160,6 +161,7 @@ extend-immutable-calls = ["fastapi.Depends", "fastapi.Query"]
|
|||
|
||||
[tool.ruff.lint.isort]
|
||||
lines-after-imports = 2
|
||||
known-first-party = ["freqtrade_client"]
|
||||
|
||||
[tool.flake8]
|
||||
# Default from https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore
|
||||
|
|
Loading…
Reference in New Issue
Block a user