mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +00:00
lint
This commit is contained in:
parent
3641d33cc8
commit
53c415d947
2 changed files with 2 additions and 2 deletions
2
nwb_linkml/tests/fixtures/nwb.py
vendored
2
nwb_linkml/tests/fixtures/nwb.py
vendored
|
@ -461,7 +461,7 @@ def nwb_file(tmp_output_dir, nwb_file_base, request: pytest.FixtureRequest) -> P
|
|||
since there's not really a reason to
|
||||
"""
|
||||
nwb_path = tmp_output_dir / "test_nwb.nwb"
|
||||
if nwb_path.exists() and not request.config.getoption('--clean'):
|
||||
if nwb_path.exists() and not request.config.getoption("--clean"):
|
||||
return nwb_path
|
||||
|
||||
nwbfile = nwb_file_base
|
||||
|
|
2
nwb_linkml/tests/fixtures/paths.py
vendored
2
nwb_linkml/tests/fixtures/paths.py
vendored
|
@ -8,7 +8,7 @@ import pytest
|
|||
def tmp_output_dir(request: pytest.FixtureRequest) -> Path:
|
||||
path = Path(__file__).parent.resolve() / "__tmp__"
|
||||
if path.exists():
|
||||
if request.config.getoption('--clean'):
|
||||
if request.config.getoption("--clean"):
|
||||
shutil.rmtree(path)
|
||||
else:
|
||||
for subdir in path.iterdir():
|
||||
|
|
Loading…
Reference in a new issue