From e5f255e15fd671519bb9d73459a9890e00927ca3 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 26 Oct 2024 04:11:35 -0500 Subject: [PATCH] ruff(chore) Fix FURB177 (implicit-cwd) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ruff check . --select ALL --fix --unsafe-fixes --preview --show-fixes --ignore T201 --ignore PT014 --ignore RUF100; ruff format .; Fixed 1 error: - tests/cli/test_cli.py: 1 × FURB177 (implicit-cwd) --- tests/cli/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py index ee48809596..4ad5d28204 100644 --- a/tests/cli/test_cli.py +++ b/tests/cli/test_cli.py @@ -63,7 +63,7 @@ def test_resolve_behavior( expect = tmp_path monkeypatch.chdir(tmp_path) assert pathlib.Path("../").resolve() == expect.parent - assert pathlib.Path().resolve() == expect + assert pathlib.Path.cwd() == expect assert pathlib.Path("./").resolve() == expect assert pathlib.Path(expect).resolve() == expect