Skip to content

Commit

Permalink
Apply ruff/flake8-pytest-style rule PT004
Browse files Browse the repository at this point in the history
PT004 Fixture does not return anything, add leading underscore
  • Loading branch information
DimitriPapadopoulos committed Aug 26, 2024
1 parent e706b44 commit 467acf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mriqc/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


@pytest.fixture(autouse=True)
def set_command(monkeypatch):
def _set_command(monkeypatch):
with monkeypatch.context() as m:
m.setattr(sys, 'argv', ['mriqc'])
yield
Expand Down

0 comments on commit 467acf7

Please sign in to comment.