Coverage for tests / unit / tools / prettier / conftest.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2026-04-03 18:53 +0000

1"""Shared fixtures for prettier plugin tests.""" 

2 

3from __future__ import annotations 

4 

5import pytest 

6 

7from lintro.tools.definitions.prettier import PrettierPlugin 

8 

9 

10@pytest.fixture 

11def prettier_plugin() -> PrettierPlugin: 

12 """Provide a PrettierPlugin instance for testing. 

13 

14 Returns: 

15 A PrettierPlugin instance. 

16 """ 

17 return PrettierPlugin()