Skip to content

Commit e5f255e

Browse files
committed
ruff(chore) Fix FURB177 (implicit-cwd)
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)
1 parent c5df380 commit e5f255e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cli/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_resolve_behavior(
6363
expect = tmp_path
6464
monkeypatch.chdir(tmp_path)
6565
assert pathlib.Path("../").resolve() == expect.parent
66-
assert pathlib.Path().resolve() == expect
66+
assert pathlib.Path.cwd() == expect
6767
assert pathlib.Path("./").resolve() == expect
6868
assert pathlib.Path(expect).resolve() == expect
6969

0 commit comments

Comments
 (0)