mirror of
https://github.com/nix-community/nix-direnv.git
synced 2024-10-03 23:07:16 +03:00
fix format
This commit is contained in:
parent
8863fa0824
commit
bd26bb8daf
@ -31,7 +31,7 @@ class DirenvProject:
|
||||
run(["direnv", "allow"], cwd=self.directory)
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
@pytest.fixture
|
||||
def direnv_project(test_root: Path, project_root: Path) -> Iterator[DirenvProject]:
|
||||
"""
|
||||
Setups a direnv test project
|
||||
|
@ -6,7 +6,7 @@ TEST_ROOT = Path(__file__).parent.resolve()
|
||||
PROJECT_ROOT = TEST_ROOT.parent
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
@pytest.fixture
|
||||
def test_root() -> Path:
|
||||
"""
|
||||
Root directory of the tests
|
||||
@ -14,7 +14,7 @@ def test_root() -> Path:
|
||||
return TEST_ROOT
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
@pytest.fixture
|
||||
def project_root() -> Path:
|
||||
"""
|
||||
Root directory of the tests
|
||||
|
Loading…
Reference in New Issue
Block a user