tests/conftest.py
def project_default(tmp_path):
    """Project with the default Nitpick style."""
    from nitpick.constants import NITPICK_STYLE_TOML
    from tests.helpers import ProjectMock

    nitpick_style = Path(__file__).parent.parent / NITPICK_STYLE_TOML
    return ProjectMock(tmp_path).pyproject_toml(
        f"""
        [tool.nitpick]
        style = "{nitpick_style}"
        """
    )
Project with the default Nitpick style.
Project with the default Nitpick style.
Project with the default Nitpick style .
def project_default(tmp_path):
    from nitpick.constants import NITPICK_STYLE_TOML
    from tests.helpers import ProjectMock
    nitpick_style = Path(__file__).parent.parent / NITPICK_STYLE_TOML
    return ProjectMock(tmp_path).pyproject_toml(
        f"""
        [tool.nitpick]
        style = "{nitpick_style}"
        """
    )
def project_default ( tmp_path ) : from nitpick . constants import NITPICK_STYLE_TOML from tests . helpers import ProjectMock nitpick_style = Path ( __file__ ) . parent . parent / NITPICK_STYLE_TOML return ProjectMock ( tmp_path ) . pyproject_toml ( f"""
        [tool.nitpick]
        style = "{nitpick_style}"
        """ )
Project with the default Nitpick style.
Project with the default Nitpick style .
"""Project with the default Nitpick style."""
tmp_path