From 9524fc0f8167df9f34364888ef9a8344a42d9a66 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 Mar 2026 08:56:55 +0100 Subject: [PATCH] chore: remove isort - ruff covers this already --- .github/workflows/ci.yml | 4 ---- .pre-commit-config.yaml | 7 ------- pyproject.toml | 9 --------- requirements-dev.txt | 1 - 4 files changed, 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1f81089a..3c333f3b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -137,10 +137,6 @@ jobs: freqtrade create-userdir --userdir user_data freqtrade hyperopt --datadir tests/testdata -e 6 --strategy SampleStrategy --hyperopt-loss SharpeHyperOptLossDaily --print-all - - name: Sort imports (isort) - run: | - isort --check . - - name: Run Ruff run: | ruff check --output-format=github diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b5bdc8183..f38f8a1d3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,13 +29,6 @@ repos: - SQLAlchemy==2.0.47 # 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 # Ruff version. rev: 'v0.15.5' diff --git a/pyproject.toml b/pyproject.toml index 44b3829d6..0f9f23d42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,7 +99,6 @@ freqai_rl = [ "tqdm", ] develop = [ - "isort", "mypy", "pre-commit", "pytest-asyncio", @@ -153,14 +152,6 @@ namespaces = true [tool.setuptools.dynamic] 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] # TODO: should be migrated to [tool.pytest] as support for this was added in 9.0 log_format = "%(asctime)s %(levelname)s %(message)s" diff --git a/requirements-dev.txt b/requirements-dev.txt index c4fa5eda1..299d0368d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -16,7 +16,6 @@ pytest-mock==3.15.1 pytest-random-order==1.2.0 pytest-timeout==2.4.0 pytest-xdist==3.8.0 -isort==8.0.1 # For datetime mocking time-machine==3.2.0