From 260567b44a678e9de362b74f3db65f3e8a25d13b Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Mon, 10 Jun 2024 14:37:17 -0400 Subject: [PATCH] ruff --- modflow_devtools/fixtures.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modflow_devtools/fixtures.py b/modflow_devtools/fixtures.py index 572f5a8..3e6dc12 100644 --- a/modflow_devtools/fixtures.py +++ b/modflow_devtools/fixtures.py @@ -16,12 +16,13 @@ @pytest.fixture(scope="function") def function_tmpdir(tmpdir_factory, request) -> Generator[Path, None, None]: - node_name = request.node.name\ - .replace("/", "_")\ - .replace("\\", "_")\ - .replace(":", "_")\ - .replace("[", "_")\ + node_name = ( + request.node.name.replace("/", "_") + .replace("\\", "_") + .replace(":", "_") + .replace("[", "_") .replace("]", "_") + ) temp = Path(tmpdir_factory.mktemp(node_name)) yield Path(temp)