Skip to content

Commit

Permalink
ruff(chore) Fix FURB177 (implicit-cwd)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
tony committed Oct 26, 2024
1 parent c5df380 commit e5f255e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e5f255e

Please sign in to comment.