From 2a0a270f18330f1ec2af4cc11c55aaa2fb7fe7a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Aug 2023 05:09:27 +0000 Subject: [PATCH 1/2] Bump ruff from 0.0.280 to 0.0.282 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.280 to 0.0.282. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.280...v0.0.282) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 2a6e8f9a8..9d1873f2e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,7 +7,7 @@ -r docs/requirements-docs.txt coveralls==3.3.1 -ruff==0.0.280 +ruff==0.0.282 mypy==1.4.1 pre-commit==3.3.3 pytest==7.4.0 From 482cc615cc91c38e8a5c9aa96a1739e145db4198 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 2 Aug 2023 17:57:49 +0200 Subject: [PATCH 2/2] Fix empty Path inits in tests --- tests/data/test_history.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/data/test_history.py b/tests/data/test_history.py index b4f88f3cb..417f984ca 100644 --- a/tests/data/test_history.py +++ b/tests/data/test_history.py @@ -386,7 +386,7 @@ def test_load_partial_missing(testdatadir, caplog) -> None: def test_init(default_conf) -> None: assert {} == load_data( - datadir=Path(''), + datadir=Path(), pairs=[], timeframe=default_conf['timeframe'] ) @@ -395,14 +395,14 @@ def test_init(default_conf) -> None: def test_init_with_refresh(default_conf, mocker) -> None: exchange = get_patched_exchange(mocker, default_conf) refresh_data( - datadir=Path(''), + datadir=Path(), pairs=[], timeframe=default_conf['timeframe'], exchange=exchange, candle_type=CandleType.SPOT ) assert {} == load_data( - datadir=Path(''), + datadir=Path(), pairs=[], timeframe=default_conf['timeframe'] )