def fake_project_pyproject(): content = """ [tool.ward] path = ["a/", "x/y"] exclude = ["a/b/"] order = "hello world" """ yield from make_project("pyproject.toml", content)
def fake_project_pyproject(): content = """ [tool.ward] path = ["a/", "x/y"] exclude = ["a/b/"] some_other_config = ["hello", "world"] """ yield from make_project("pyproject.toml", content)
def fake_project_git(): yield from make_project(".git")
def fake_project_pyproject(): yield from make_project("pyproject.toml")
def project(): yield from make_project("module.py")