chore: remove isort - ruff covers this already
This commit is contained in:
@@ -137,10 +137,6 @@ jobs:
|
|||||||
freqtrade create-userdir --userdir user_data
|
freqtrade create-userdir --userdir user_data
|
||||||
freqtrade hyperopt --datadir tests/testdata -e 6 --strategy SampleStrategy --hyperopt-loss SharpeHyperOptLossDaily --print-all
|
freqtrade hyperopt --datadir tests/testdata -e 6 --strategy SampleStrategy --hyperopt-loss SharpeHyperOptLossDaily --print-all
|
||||||
|
|
||||||
- name: Sort imports (isort)
|
|
||||||
run: |
|
|
||||||
isort --check .
|
|
||||||
|
|
||||||
- name: Run Ruff
|
- name: Run Ruff
|
||||||
run: |
|
run: |
|
||||||
ruff check --output-format=github
|
ruff check --output-format=github
|
||||||
|
|||||||
@@ -29,13 +29,6 @@ repos:
|
|||||||
- SQLAlchemy==2.0.47
|
- SQLAlchemy==2.0.47
|
||||||
# stages: [push]
|
# stages: [push]
|
||||||
|
|
||||||
- repo: https://github.com/pycqa/isort
|
|
||||||
rev: "8.0.1"
|
|
||||||
hooks:
|
|
||||||
- id: isort
|
|
||||||
name: isort (python)
|
|
||||||
# stages: [push]
|
|
||||||
|
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: 'v0.15.5'
|
rev: 'v0.15.5'
|
||||||
|
|||||||
@@ -99,7 +99,6 @@ freqai_rl = [
|
|||||||
"tqdm",
|
"tqdm",
|
||||||
]
|
]
|
||||||
develop = [
|
develop = [
|
||||||
"isort",
|
|
||||||
"mypy",
|
"mypy",
|
||||||
"pre-commit",
|
"pre-commit",
|
||||||
"pytest-asyncio",
|
"pytest-asyncio",
|
||||||
@@ -153,14 +152,6 @@ namespaces = true
|
|||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
version = {attr = "freqtrade.__version__"}
|
version = {attr = "freqtrade.__version__"}
|
||||||
|
|
||||||
[tool.isort]
|
|
||||||
line_length = 100
|
|
||||||
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]
|
[tool.pytest.ini_options]
|
||||||
# TODO: should be migrated to [tool.pytest] as support for this was added in 9.0
|
# TODO: should be migrated to [tool.pytest] as support for this was added in 9.0
|
||||||
log_format = "%(asctime)s %(levelname)s %(message)s"
|
log_format = "%(asctime)s %(levelname)s %(message)s"
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ pytest-mock==3.15.1
|
|||||||
pytest-random-order==1.2.0
|
pytest-random-order==1.2.0
|
||||||
pytest-timeout==2.4.0
|
pytest-timeout==2.4.0
|
||||||
pytest-xdist==3.8.0
|
pytest-xdist==3.8.0
|
||||||
isort==8.0.1
|
|
||||||
# For datetime mocking
|
# For datetime mocking
|
||||||
time-machine==3.2.0
|
time-machine==3.2.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user