Skip to content

Commit 00762f7

Browse files
committed
Switch from flake8 to ruff
1 parent 1bd5a83 commit 00762f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
import pytest
77

8-
from tests.lib.util import create_file, execute, rand_str
8+
from tests.lib.util import create_file, execute
99

1010
root = Path(__file__).parent.parent
1111

1212

1313
@pytest.fixture
14-
def repo_dir(tmpdir_factory):
15-
repo_dir = tmpdir_factory.mkdir(rand_str())
14+
def repo_dir(temp_path_factory: pytest.TempPathFactory):
15+
repo_dir = temp_path_factory.mktemp("repo")
1616
coveragerc = root.joinpath(".coveragerc")
1717
reports = repo_dir.joinpath("reports")
1818

0 commit comments

Comments
 (0)